From a1917336d243226be4416ef393670a4efbe5a4cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:48:55 +0800 Subject: [PATCH] chore: update quest data (2024-10-09) (#162) Co-authored-by: github-actions[bot] --- .changeset/bot-data-update.md | 6 ++++++ src/__tests__/__snapshots__/questCategory.spec.ts.snap | 5 +++++ src/__tests__/__snapshots__/questHelper.spec.ts.snap | 3 +++ src/__tests__/kcanotifyData.spec.ts | 2 +- src/__tests__/kcwikiData.spec.ts | 2 +- src/__tests__/questCategory.spec.ts | 4 ++-- 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 .changeset/bot-data-update.md diff --git a/.changeset/bot-data-update.md b/.changeset/bot-data-update.md new file mode 100644 index 0000000..80fd65a --- /dev/null +++ b/.changeset/bot-data-update.md @@ -0,0 +1,6 @@ +--- +'poi-plugin-quest-info-2': patch +--- + +Update quest data + diff --git a/src/__tests__/__snapshots__/questCategory.spec.ts.snap b/src/__tests__/__snapshots__/questCategory.spec.ts.snap index 2b3a51b..3aeacee 100644 --- a/src/__tests__/__snapshots__/questCategory.spec.ts.snap +++ b/src/__tests__/__snapshots__/questCategory.spec.ts.snap @@ -507,6 +507,11 @@ exports[`should questCategory correct snapshot 1`] = ` "gameId": 375, "name": "“第三战队” 第二小队,演习开始!", }, + { + "code": "Cy16", + "gameId": 377, + "name": "「第二驱逐队(后期编成)」,能力提升!", + }, { "code": "Dy1", "gameId": 434, diff --git a/src/__tests__/__snapshots__/questHelper.spec.ts.snap b/src/__tests__/__snapshots__/questHelper.spec.ts.snap index f871395..a73c62f 100644 --- a/src/__tests__/__snapshots__/questHelper.spec.ts.snap +++ b/src/__tests__/__snapshots__/questHelper.spec.ts.snap @@ -3,6 +3,7 @@ exports[`questHelper should 101 locked quests match snapshot 1`] = ` { "1001": true, + "1002": true, "1003": true, "1005": true, "1006": true, @@ -13,6 +14,7 @@ exports[`questHelper should 101 locked quests match snapshot 1`] = ` "1014": true, "1015": true, "102": true, + "1021": true, "103": true, "104": true, "105": true, @@ -231,6 +233,7 @@ exports[`questHelper should 101 locked quests match snapshot 1`] = ` "368": true, "371": true, "372": true, + "377": true, "401": true, "402": true, "403": true, diff --git a/src/__tests__/kcanotifyData.spec.ts b/src/__tests__/kcanotifyData.spec.ts index 125761f..0f9b18c 100644 --- a/src/__tests__/kcanotifyData.spec.ts +++ b/src/__tests__/kcanotifyData.spec.ts @@ -1,7 +1,7 @@ import { kcanotifyGameData, version } from '../../build/kcanotifyGamedata' test('should Kcanotify Game data version correct', () => { - expect(version).toMatchInlineSnapshot(`"2024092801"`) + expect(version).toMatchInlineSnapshot(`"2024101901"`) }) describe('should format correct', () => { diff --git a/src/__tests__/kcwikiData.spec.ts b/src/__tests__/kcwikiData.spec.ts index 69c1f93..138e2a5 100644 --- a/src/__tests__/kcwikiData.spec.ts +++ b/src/__tests__/kcwikiData.spec.ts @@ -4,7 +4,7 @@ import newQuestData from '../../build/kcQuestsData/quests-scn-new.json' describe('should version correct', () => { test('should KcwikiQuestData Game data version correct', () => { expect(version).toMatchInlineSnapshot( - `"bc32e86b9b41367faf31d796b6f534ee8c61e151"`, + `"99385f3711e25a051d0dc293d469c167cf3b10be"`, ) }) }) diff --git a/src/__tests__/questCategory.spec.ts b/src/__tests__/questCategory.spec.ts index c33376c..a6da781 100644 --- a/src/__tests__/questCategory.spec.ts +++ b/src/__tests__/questCategory.spec.ts @@ -8,8 +8,8 @@ describe('should questCategory correct', () => { expect(questCategory.weeklyQuest.length).toMatchInlineSnapshot(`19`) expect(questCategory.monthlyQuest.length).toMatchInlineSnapshot(`14`) expect(questCategory.quarterlyQuest.length).toMatchInlineSnapshot(`28`) - expect(questCategory.yearlyQuest.length).toMatchInlineSnapshot(`53`) - expect(questCategory.singleQuest.length).toMatchInlineSnapshot(`474`) + expect(questCategory.yearlyQuest.length).toMatchInlineSnapshot(`54`) + expect(questCategory.singleQuest.length).toMatchInlineSnapshot(`483`) }) test('snapshot', () => {