poi-plugin-quest-info-2 0.9.13 → 0.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/kcQuestsData/DATA_VERSION +1 -1
- package/build/kcQuestsData/index.ts +1 -1
- package/build/kcQuestsData/quests-scn-new.json +7 -1
- package/build/kcQuestsData/quests-scn.json +239 -66
- package/build/kcanotifyGamedata/DATA_VERSION +1 -1
- package/build/kcanotifyGamedata/index.ts +1 -1
- package/build/kcanotifyGamedata/quests-en.json +3934 -1348
- package/build/kcanotifyGamedata/quests-jp.json +4244 -646
- package/build/kcanotifyGamedata/quests-ko.json +4446 -924
- package/build/kcanotifyGamedata/quests-scn.json +4295 -913
- package/build/kcanotifyGamedata/quests-tcn.json +4218 -869
- package/build/prePostQuest.json +152 -26
- package/build/questCategory.json +18 -8
- package/build/questCodeMap.json +21 -4
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/questCategory.spec.ts.snap +10 -0
- package/src/__tests__/__snapshots__/questHelper.spec.ts.snap +15 -1
- package/src/__tests__/kcanotifyData.spec.ts +1 -1
- package/src/__tests__/kcwikiData.spec.ts +6 -6
- package/src/__tests__/questCategory.spec.ts +2 -2
package/build/prePostQuest.json
CHANGED
|
@@ -443,7 +443,8 @@
|
|
|
443
443
|
"post": [
|
|
444
444
|
"A59",
|
|
445
445
|
"B35",
|
|
446
|
-
"B36"
|
|
446
|
+
"B36",
|
|
447
|
+
"C72"
|
|
447
448
|
]
|
|
448
449
|
},
|
|
449
450
|
"150": {
|
|
@@ -918,7 +919,7 @@
|
|
|
918
919
|
"C71",
|
|
919
920
|
"C64",
|
|
920
921
|
"C15",
|
|
921
|
-
"
|
|
922
|
+
"",
|
|
922
923
|
"C32",
|
|
923
924
|
"F73",
|
|
924
925
|
"B67",
|
|
@@ -1101,7 +1102,8 @@
|
|
|
1101
1102
|
],
|
|
1102
1103
|
"post": [
|
|
1103
1104
|
"B122",
|
|
1104
|
-
"B155"
|
|
1105
|
+
"B155",
|
|
1106
|
+
"23070702"
|
|
1105
1107
|
]
|
|
1106
1108
|
},
|
|
1107
1109
|
"224": {
|
|
@@ -1114,6 +1116,8 @@
|
|
|
1114
1116
|
"A77",
|
|
1115
1117
|
"C56",
|
|
1116
1118
|
"C70",
|
|
1119
|
+
"C75",
|
|
1120
|
+
"23070705",
|
|
1117
1121
|
"G10",
|
|
1118
1122
|
"B166"
|
|
1119
1123
|
]
|
|
@@ -1211,7 +1215,8 @@
|
|
|
1211
1215
|
"B147",
|
|
1212
1216
|
"B156",
|
|
1213
1217
|
"B165",
|
|
1214
|
-
"B172"
|
|
1218
|
+
"B172",
|
|
1219
|
+
"B191"
|
|
1215
1220
|
]
|
|
1216
1221
|
},
|
|
1217
1222
|
"236": {
|
|
@@ -1640,8 +1645,8 @@
|
|
|
1640
1645
|
"A64",
|
|
1641
1646
|
"B128",
|
|
1642
1647
|
"D19",
|
|
1643
|
-
"F19",
|
|
1644
1648
|
"F20",
|
|
1649
|
+
"F19",
|
|
1645
1650
|
"B95"
|
|
1646
1651
|
]
|
|
1647
1652
|
},
|
|
@@ -1681,7 +1686,10 @@
|
|
|
1681
1686
|
"C2"
|
|
1682
1687
|
],
|
|
1683
1688
|
"post": [
|
|
1684
|
-
"
|
|
1689
|
+
"C73",
|
|
1690
|
+
"B144",
|
|
1691
|
+
"B190",
|
|
1692
|
+
"F116"
|
|
1685
1693
|
]
|
|
1686
1694
|
},
|
|
1687
1695
|
"293": {
|
|
@@ -1756,7 +1764,7 @@
|
|
|
1756
1764
|
"C2",
|
|
1757
1765
|
"C64",
|
|
1758
1766
|
"C20",
|
|
1759
|
-
"
|
|
1767
|
+
"",
|
|
1760
1768
|
"C32"
|
|
1761
1769
|
]
|
|
1762
1770
|
},
|
|
@@ -2071,6 +2079,7 @@
|
|
|
2071
2079
|
],
|
|
2072
2080
|
"post": [
|
|
2073
2081
|
"C49",
|
|
2082
|
+
"C60",
|
|
2074
2083
|
"C66"
|
|
2075
2084
|
]
|
|
2076
2085
|
},
|
|
@@ -2114,6 +2123,12 @@
|
|
|
2114
2123
|
],
|
|
2115
2124
|
"post": []
|
|
2116
2125
|
},
|
|
2126
|
+
"354": {
|
|
2127
|
+
"pre": [
|
|
2128
|
+
"C46"
|
|
2129
|
+
],
|
|
2130
|
+
"post": []
|
|
2131
|
+
},
|
|
2117
2132
|
"355": {
|
|
2118
2133
|
"pre": [
|
|
2119
2134
|
"B117"
|
|
@@ -2130,7 +2145,8 @@
|
|
|
2130
2145
|
},
|
|
2131
2146
|
"357": {
|
|
2132
2147
|
"pre": [
|
|
2133
|
-
"C46"
|
|
2148
|
+
"C46",
|
|
2149
|
+
"F10"
|
|
2134
2150
|
],
|
|
2135
2151
|
"post": [
|
|
2136
2152
|
"B182"
|
|
@@ -2151,6 +2167,39 @@
|
|
|
2151
2167
|
],
|
|
2152
2168
|
"post": []
|
|
2153
2169
|
},
|
|
2170
|
+
"362": {
|
|
2171
|
+
"pre": [
|
|
2172
|
+
"A47"
|
|
2173
|
+
],
|
|
2174
|
+
"post": []
|
|
2175
|
+
},
|
|
2176
|
+
"364": {
|
|
2177
|
+
"pre": [
|
|
2178
|
+
"B133"
|
|
2179
|
+
],
|
|
2180
|
+
"post": []
|
|
2181
|
+
},
|
|
2182
|
+
"365": {
|
|
2183
|
+
"pre": [
|
|
2184
|
+
"B14",
|
|
2185
|
+
"B191"
|
|
2186
|
+
],
|
|
2187
|
+
"post": [
|
|
2188
|
+
"F118"
|
|
2189
|
+
]
|
|
2190
|
+
},
|
|
2191
|
+
"366": {
|
|
2192
|
+
"pre": [
|
|
2193
|
+
"B158"
|
|
2194
|
+
],
|
|
2195
|
+
"post": []
|
|
2196
|
+
},
|
|
2197
|
+
"368": {
|
|
2198
|
+
"pre": [
|
|
2199
|
+
"B14"
|
|
2200
|
+
],
|
|
2201
|
+
"post": []
|
|
2202
|
+
},
|
|
2154
2203
|
"401": {
|
|
2155
2204
|
"pre": [
|
|
2156
2205
|
"A5"
|
|
@@ -2626,7 +2675,9 @@
|
|
|
2626
2675
|
"pre": [
|
|
2627
2676
|
"G4"
|
|
2628
2677
|
],
|
|
2629
|
-
"post": [
|
|
2678
|
+
"post": [
|
|
2679
|
+
"C66"
|
|
2680
|
+
]
|
|
2630
2681
|
},
|
|
2631
2682
|
"611": {
|
|
2632
2683
|
"pre": [
|
|
@@ -2725,15 +2776,15 @@
|
|
|
2725
2776
|
"pre": [
|
|
2726
2777
|
"B50"
|
|
2727
2778
|
],
|
|
2728
|
-
"post": [
|
|
2779
|
+
"post": [
|
|
2780
|
+
"F88"
|
|
2781
|
+
]
|
|
2729
2782
|
},
|
|
2730
2783
|
"623": {
|
|
2731
2784
|
"pre": [
|
|
2732
2785
|
"B50"
|
|
2733
2786
|
],
|
|
2734
|
-
"post": [
|
|
2735
|
-
"F88"
|
|
2736
|
-
]
|
|
2787
|
+
"post": []
|
|
2737
2788
|
},
|
|
2738
2789
|
"624": {
|
|
2739
2790
|
"pre": [
|
|
@@ -2826,7 +2877,8 @@
|
|
|
2826
2877
|
"Bd2"
|
|
2827
2878
|
],
|
|
2828
2879
|
"post": [
|
|
2829
|
-
"B64"
|
|
2880
|
+
"B64",
|
|
2881
|
+
"F96"
|
|
2830
2882
|
]
|
|
2831
2883
|
},
|
|
2832
2884
|
"635": {
|
|
@@ -3014,7 +3066,8 @@
|
|
|
3014
3066
|
"B91"
|
|
3015
3067
|
],
|
|
3016
3068
|
"post": [
|
|
3017
|
-
"F98"
|
|
3069
|
+
"F98",
|
|
3070
|
+
"F117"
|
|
3018
3071
|
]
|
|
3019
3072
|
},
|
|
3020
3073
|
"659": {
|
|
@@ -3050,7 +3103,8 @@
|
|
|
3050
3103
|
"F53"
|
|
3051
3104
|
],
|
|
3052
3105
|
"post": [
|
|
3053
|
-
"D23"
|
|
3106
|
+
"D23",
|
|
3107
|
+
"By1"
|
|
3054
3108
|
]
|
|
3055
3109
|
},
|
|
3056
3110
|
"663": {
|
|
@@ -3316,10 +3370,13 @@
|
|
|
3316
3370
|
"C31",
|
|
3317
3371
|
"F84"
|
|
3318
3372
|
],
|
|
3319
|
-
"post": [
|
|
3373
|
+
"post": [
|
|
3374
|
+
"F87"
|
|
3375
|
+
]
|
|
3320
3376
|
},
|
|
3321
3377
|
"696": {
|
|
3322
3378
|
"pre": [
|
|
3379
|
+
"F86",
|
|
3323
3380
|
"B132"
|
|
3324
3381
|
],
|
|
3325
3382
|
"post": []
|
|
@@ -4131,7 +4188,8 @@
|
|
|
4131
4188
|
},
|
|
4132
4189
|
"904": {
|
|
4133
4190
|
"pre": [
|
|
4134
|
-
"B44"
|
|
4191
|
+
"B44",
|
|
4192
|
+
"F54"
|
|
4135
4193
|
],
|
|
4136
4194
|
"post": [
|
|
4137
4195
|
"B180"
|
|
@@ -4273,7 +4331,8 @@
|
|
|
4273
4331
|
"post": [
|
|
4274
4332
|
"By5",
|
|
4275
4333
|
"B157",
|
|
4276
|
-
"B160"
|
|
4334
|
+
"B160",
|
|
4335
|
+
"B189"
|
|
4277
4336
|
]
|
|
4278
4337
|
},
|
|
4279
4338
|
"928": {
|
|
@@ -4288,7 +4347,9 @@
|
|
|
4288
4347
|
"B17",
|
|
4289
4348
|
"B135"
|
|
4290
4349
|
],
|
|
4291
|
-
"post": [
|
|
4350
|
+
"post": [
|
|
4351
|
+
"B189"
|
|
4352
|
+
]
|
|
4292
4353
|
},
|
|
4293
4354
|
"930": {
|
|
4294
4355
|
"pre": [
|
|
@@ -4302,7 +4363,10 @@
|
|
|
4302
4363
|
"Bd3",
|
|
4303
4364
|
"B121"
|
|
4304
4365
|
],
|
|
4305
|
-
"post": [
|
|
4366
|
+
"post": [
|
|
4367
|
+
"C76",
|
|
4368
|
+
"B192"
|
|
4369
|
+
]
|
|
4306
4370
|
},
|
|
4307
4371
|
"933": {
|
|
4308
4372
|
"pre": [
|
|
@@ -4310,7 +4374,8 @@
|
|
|
4310
4374
|
],
|
|
4311
4375
|
"post": [
|
|
4312
4376
|
"B161",
|
|
4313
|
-
"B170"
|
|
4377
|
+
"B170",
|
|
4378
|
+
"23070703"
|
|
4314
4379
|
]
|
|
4315
4380
|
},
|
|
4316
4381
|
"934": {
|
|
@@ -4568,8 +4633,50 @@
|
|
|
4568
4633
|
],
|
|
4569
4634
|
"post": []
|
|
4570
4635
|
},
|
|
4636
|
+
"993": {
|
|
4637
|
+
"pre": [
|
|
4638
|
+
"B159"
|
|
4639
|
+
],
|
|
4640
|
+
"post": []
|
|
4641
|
+
},
|
|
4642
|
+
"994": {
|
|
4643
|
+
"pre": [
|
|
4644
|
+
"B13"
|
|
4645
|
+
],
|
|
4646
|
+
"post": []
|
|
4647
|
+
},
|
|
4648
|
+
"995": {
|
|
4649
|
+
"pre": [
|
|
4650
|
+
"B155",
|
|
4651
|
+
"B156"
|
|
4652
|
+
],
|
|
4653
|
+
"post": [
|
|
4654
|
+
"F115"
|
|
4655
|
+
]
|
|
4656
|
+
},
|
|
4657
|
+
"996": {
|
|
4658
|
+
"pre": [
|
|
4659
|
+
"B133"
|
|
4660
|
+
],
|
|
4661
|
+
"post": []
|
|
4662
|
+
},
|
|
4663
|
+
"997": {
|
|
4664
|
+
"pre": [
|
|
4665
|
+
"B135"
|
|
4666
|
+
],
|
|
4667
|
+
"post": [
|
|
4668
|
+
"C75"
|
|
4669
|
+
]
|
|
4670
|
+
},
|
|
4671
|
+
"998": {
|
|
4672
|
+
"pre": [
|
|
4673
|
+
"B158"
|
|
4674
|
+
],
|
|
4675
|
+
"post": []
|
|
4676
|
+
},
|
|
4571
4677
|
"1101": {
|
|
4572
4678
|
"pre": [
|
|
4679
|
+
"F31",
|
|
4573
4680
|
"F32"
|
|
4574
4681
|
],
|
|
4575
4682
|
"post": [
|
|
@@ -4585,7 +4692,7 @@
|
|
|
4585
4692
|
"F100",
|
|
4586
4693
|
"F110",
|
|
4587
4694
|
"F112",
|
|
4588
|
-
"
|
|
4695
|
+
"F117"
|
|
4589
4696
|
]
|
|
4590
4697
|
},
|
|
4591
4698
|
"1103": {
|
|
@@ -4697,15 +4804,34 @@
|
|
|
4697
4804
|
"B187"
|
|
4698
4805
|
]
|
|
4699
4806
|
},
|
|
4700
|
-
"
|
|
4807
|
+
"1123": {
|
|
4808
|
+
"pre": [
|
|
4809
|
+
"G8"
|
|
4810
|
+
],
|
|
4811
|
+
"post": []
|
|
4812
|
+
},
|
|
4813
|
+
"1127": {
|
|
4814
|
+
"pre": [
|
|
4815
|
+
"B189"
|
|
4816
|
+
],
|
|
4817
|
+
"post": []
|
|
4818
|
+
},
|
|
4819
|
+
"1128": {
|
|
4701
4820
|
"pre": [
|
|
4821
|
+
"B133"
|
|
4822
|
+
],
|
|
4823
|
+
"post": []
|
|
4824
|
+
},
|
|
4825
|
+
"1129": {
|
|
4826
|
+
"pre": [
|
|
4827
|
+
"F50",
|
|
4702
4828
|
"F97"
|
|
4703
4829
|
],
|
|
4704
4830
|
"post": []
|
|
4705
4831
|
},
|
|
4706
|
-
"
|
|
4832
|
+
"1130": {
|
|
4707
4833
|
"pre": [
|
|
4708
|
-
"
|
|
4834
|
+
"C75"
|
|
4709
4835
|
],
|
|
4710
4836
|
"post": []
|
|
4711
4837
|
}
|
package/build/questCategory.json
CHANGED
|
@@ -93,6 +93,8 @@
|
|
|
93
93
|
355,
|
|
94
94
|
356,
|
|
95
95
|
357,
|
|
96
|
+
362,
|
|
97
|
+
368,
|
|
96
98
|
434,
|
|
97
99
|
436,
|
|
98
100
|
437,
|
|
@@ -243,11 +245,9 @@
|
|
|
243
245
|
231,
|
|
244
246
|
232,
|
|
245
247
|
233,
|
|
246
|
-
234,
|
|
247
248
|
235,
|
|
248
249
|
236,
|
|
249
250
|
237,
|
|
250
|
-
238,
|
|
251
251
|
239,
|
|
252
252
|
240,
|
|
253
253
|
244,
|
|
@@ -328,11 +328,13 @@
|
|
|
328
328
|
343,
|
|
329
329
|
344,
|
|
330
330
|
347,
|
|
331
|
-
349,
|
|
332
331
|
351,
|
|
333
332
|
352,
|
|
334
333
|
358,
|
|
335
334
|
360,
|
|
335
|
+
364,
|
|
336
|
+
365,
|
|
337
|
+
366,
|
|
336
338
|
401,
|
|
337
339
|
405,
|
|
338
340
|
406,
|
|
@@ -393,6 +395,7 @@
|
|
|
393
395
|
635,
|
|
394
396
|
636,
|
|
395
397
|
639,
|
|
398
|
+
640,
|
|
396
399
|
641,
|
|
397
400
|
642,
|
|
398
401
|
644,
|
|
@@ -466,8 +469,6 @@
|
|
|
466
469
|
828,
|
|
467
470
|
829,
|
|
468
471
|
830,
|
|
469
|
-
831,
|
|
470
|
-
832,
|
|
471
472
|
833,
|
|
472
473
|
834,
|
|
473
474
|
835,
|
|
@@ -564,7 +565,13 @@
|
|
|
564
565
|
982,
|
|
565
566
|
983,
|
|
566
567
|
989,
|
|
567
|
-
|
|
568
|
+
992,
|
|
569
|
+
993,
|
|
570
|
+
994,
|
|
571
|
+
995,
|
|
572
|
+
996,
|
|
573
|
+
997,
|
|
574
|
+
998,
|
|
568
575
|
1101,
|
|
569
576
|
1102,
|
|
570
577
|
1106,
|
|
@@ -578,7 +585,10 @@
|
|
|
578
585
|
1116,
|
|
579
586
|
1117,
|
|
580
587
|
1118,
|
|
581
|
-
|
|
582
|
-
|
|
588
|
+
1127,
|
|
589
|
+
1128,
|
|
590
|
+
1129,
|
|
591
|
+
1130,
|
|
592
|
+
1131
|
|
583
593
|
]
|
|
584
594
|
}
|
package/build/questCodeMap.json
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"23070701": 992,
|
|
3
|
+
"23070702": 994,
|
|
4
|
+
"23070703": 993,
|
|
5
|
+
"23070704": 1131,
|
|
6
|
+
"23070705": 368,
|
|
2
7
|
"A1": 101,
|
|
3
8
|
"A2": 102,
|
|
4
9
|
"A3": 103,
|
|
@@ -213,7 +218,7 @@
|
|
|
213
218
|
"C21": 323,
|
|
214
219
|
"C22": 324,
|
|
215
220
|
"C23": 325,
|
|
216
|
-
"
|
|
221
|
+
"": 326,
|
|
217
222
|
"C25": 327,
|
|
218
223
|
"C27": 328,
|
|
219
224
|
"C29": 330,
|
|
@@ -243,6 +248,10 @@
|
|
|
243
248
|
"C66": 357,
|
|
244
249
|
"C68": 358,
|
|
245
250
|
"C70": 360,
|
|
251
|
+
"C72": 362,
|
|
252
|
+
"C73": 364,
|
|
253
|
+
"C75": 365,
|
|
254
|
+
"C76": 366,
|
|
246
255
|
"D1": 401,
|
|
247
256
|
"D2": 402,
|
|
248
257
|
"D3": 403,
|
|
@@ -311,8 +320,8 @@
|
|
|
311
320
|
"F18": 619,
|
|
312
321
|
"F88": 620,
|
|
313
322
|
"F89": 621,
|
|
314
|
-
"
|
|
315
|
-
"
|
|
323
|
+
"F20": 622,
|
|
324
|
+
"F19": 623,
|
|
316
325
|
"F21": 624,
|
|
317
326
|
"F23": 625,
|
|
318
327
|
"F22": 626,
|
|
@@ -542,6 +551,10 @@
|
|
|
542
551
|
"B186": 982,
|
|
543
552
|
"B187": 983,
|
|
544
553
|
"B188": 989,
|
|
554
|
+
"B189": 995,
|
|
555
|
+
"B190": 996,
|
|
556
|
+
"B191": 997,
|
|
557
|
+
"B192": 998,
|
|
545
558
|
"F96": 1101,
|
|
546
559
|
"F97": 1102,
|
|
547
560
|
"F98": 1103,
|
|
@@ -560,5 +573,9 @@
|
|
|
560
573
|
"F111": 1117,
|
|
561
574
|
"F112": 1118,
|
|
562
575
|
"F113": 1120,
|
|
563
|
-
"F114": 1123
|
|
576
|
+
"F114": 1123,
|
|
577
|
+
"F115": 1127,
|
|
578
|
+
"F116": 1128,
|
|
579
|
+
"F117": 1129,
|
|
580
|
+
"F118": 1130
|
|
564
581
|
}
|
package/package.json
CHANGED
|
@@ -437,6 +437,16 @@ Object {
|
|
|
437
437
|
"gameId": 357,
|
|
438
438
|
"name": "「大和型战舰」第一舰队演习开始!",
|
|
439
439
|
},
|
|
440
|
+
Object {
|
|
441
|
+
"code": "C72",
|
|
442
|
+
"gameId": 362,
|
|
443
|
+
"name": "特型初代 “第十一驱逐队” 演习 special!",
|
|
444
|
+
},
|
|
445
|
+
Object {
|
|
446
|
+
"code": "23070705",
|
|
447
|
+
"gameId": 368,
|
|
448
|
+
"name": "“十六驱” 演习!",
|
|
449
|
+
},
|
|
440
450
|
Object {
|
|
441
451
|
"code": "D32",
|
|
442
452
|
"gameId": 434,
|
|
@@ -25,8 +25,11 @@ Object {
|
|
|
25
25
|
"1117": true,
|
|
26
26
|
"1118": true,
|
|
27
27
|
"112": true,
|
|
28
|
-
"
|
|
28
|
+
"1127": true,
|
|
29
|
+
"1128": true,
|
|
30
|
+
"1129": true,
|
|
29
31
|
"113": true,
|
|
32
|
+
"1130": true,
|
|
30
33
|
"114": true,
|
|
31
34
|
"115": true,
|
|
32
35
|
"116": true,
|
|
@@ -195,8 +198,14 @@ Object {
|
|
|
195
198
|
"351": true,
|
|
196
199
|
"355": true,
|
|
197
200
|
"356": true,
|
|
201
|
+
"357": true,
|
|
198
202
|
"358": true,
|
|
199
203
|
"360": true,
|
|
204
|
+
"362": true,
|
|
205
|
+
"364": true,
|
|
206
|
+
"365": true,
|
|
207
|
+
"366": true,
|
|
208
|
+
"368": true,
|
|
200
209
|
"401": true,
|
|
201
210
|
"402": true,
|
|
202
211
|
"403": true,
|
|
@@ -420,6 +429,11 @@ Object {
|
|
|
420
429
|
"982": true,
|
|
421
430
|
"983": true,
|
|
422
431
|
"989": true,
|
|
432
|
+
"993": true,
|
|
433
|
+
"994": true,
|
|
434
|
+
"995": true,
|
|
435
|
+
"996": true,
|
|
436
|
+
"998": true,
|
|
423
437
|
}
|
|
424
438
|
`;
|
|
425
439
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { version, QuestData } from '../../build/kcanotifyGamedata'
|
|
2
2
|
|
|
3
3
|
test('should Kcanotify Game data version correct', () => {
|
|
4
|
-
expect(version).toMatchInlineSnapshot(`"
|
|
4
|
+
expect(version).toMatchInlineSnapshot(`"2023072402"`)
|
|
5
5
|
})
|
|
6
6
|
|
|
7
7
|
test('should Kcanotify Game data keys correct', () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KcwikiQuestData, version } from '../../build/kcQuestsData'
|
|
2
2
|
import newQuestData from '../../build/kcQuestsData/quests-scn-new.json'
|
|
3
3
|
|
|
4
4
|
describe('should version correct', () => {
|
|
5
5
|
test('should KcwikiQuestData Game data version correct', () => {
|
|
6
6
|
expect(version).toMatchInlineSnapshot(
|
|
7
|
-
`"
|
|
7
|
+
`"9cb91ffd0ec6b3c2f05315ae7b8a06471def6164"`
|
|
8
8
|
)
|
|
9
9
|
})
|
|
10
10
|
|
|
@@ -21,18 +21,18 @@ describe('should format correct', () => {
|
|
|
21
21
|
test('key format', () => {
|
|
22
22
|
Object.keys(KcwikiQuestData['zh-CN']).forEach((key) => {
|
|
23
23
|
// gameId should not extra space
|
|
24
|
-
expect(key
|
|
24
|
+
expect(key).toEqual(key.trim())
|
|
25
25
|
// gameId should be number
|
|
26
|
-
expect(
|
|
26
|
+
expect(key).toEqual(String(+key))
|
|
27
27
|
})
|
|
28
28
|
})
|
|
29
29
|
|
|
30
30
|
test('new quest key format', () => {
|
|
31
31
|
Object.keys(newQuestData).forEach((gameId) => {
|
|
32
32
|
// gameId should not extra space
|
|
33
|
-
expect(gameId
|
|
33
|
+
expect(gameId).toEqual(gameId.trim())
|
|
34
34
|
// gameId should be number
|
|
35
|
-
expect(
|
|
35
|
+
expect(gameId).toEqual(String(gameId))
|
|
36
36
|
})
|
|
37
37
|
})
|
|
38
38
|
})
|
|
@@ -8,8 +8,8 @@ describe('should questCategory correct', () => {
|
|
|
8
8
|
expect(questCategory.weeklyQuest.length).toMatchInlineSnapshot(`17`)
|
|
9
9
|
expect(questCategory.monthlyQuest.length).toMatchInlineSnapshot(`11`)
|
|
10
10
|
expect(questCategory.quarterlyQuest.length).toMatchInlineSnapshot(`25`)
|
|
11
|
-
expect(questCategory.yearlyQuest.length).toMatchInlineSnapshot(`
|
|
12
|
-
expect(questCategory.singleQuest.length).toMatchInlineSnapshot(`
|
|
11
|
+
expect(questCategory.yearlyQuest.length).toMatchInlineSnapshot(`45`)
|
|
12
|
+
expect(questCategory.singleQuest.length).toMatchInlineSnapshot(`459`)
|
|
13
13
|
})
|
|
14
14
|
|
|
15
15
|
test('snapshot', () => {
|