From 10fda97870425615e69ba7eb28ea8502b94e3ded Mon Sep 17 00:00:00 2001 From: Pavlo Buidenkov Date: Wed, 3 Mar 2021 17:54:48 +0200 Subject: [PATCH] fix tests --- .../SettingsOverlay.spec.tsx.snap | 17 ++++++++++++++ app/configs/i18next.config.client.spec.ts | 2 ++ .../DeskreenStepper.spec.tsx.snap | 22 +++++++++++++++++++ .../__snapshots__/HomePage.spec.tsx.snap | 22 +++++++++++++++++++ 4 files changed, 63 insertions(+) diff --git a/app/components/SettingsOverlay/__snapshots__/SettingsOverlay.spec.tsx.snap b/app/components/SettingsOverlay/__snapshots__/SettingsOverlay.spec.tsx.snap index 1fcdc8c..cd2bd69 100644 --- a/app/components/SettingsOverlay/__snapshots__/SettingsOverlay.spec.tsx.snap +++ b/app/components/SettingsOverlay/__snapshots__/SettingsOverlay.spec.tsx.snap @@ -444,6 +444,11 @@ exports[`should match exact snapshot 1`] = ` > 繁體中文 + 繁體中文 + 繁體中文 + { expectedMap.set('Українська', 'ua'); expectedMap.set('简体中文', 'zh_CN'); expectedMap.set('繁體中文', 'zh_TW'); + expectedMap.set('Dansk', 'da'); const res = getLangFullNameToLangISOKeyMap(); @@ -42,6 +43,7 @@ describe('i18next.config.client tests', () => { expectedMap.set('ua', 'Українська'); expectedMap.set('zh_CN', '简体中文'); expectedMap.set('zh_TW', '繁體中文'); + expectedMap.set('da', 'Dansk'); const res = getLangISOKeyToLangFullNameMap(); diff --git a/app/containers/__snapshots__/DeskreenStepper.spec.tsx.snap b/app/containers/__snapshots__/DeskreenStepper.spec.tsx.snap index 77578bc..b7429c7 100644 --- a/app/containers/__snapshots__/DeskreenStepper.spec.tsx.snap +++ b/app/containers/__snapshots__/DeskreenStepper.spec.tsx.snap @@ -1711,6 +1711,11 @@ exports[`should match exact snapshot 1`] = ` > 繁體中文 + 繁體中文 + 繁體中文 + 繁體中文 + 繁體中文 + 繁體中文 + 繁體中文 + 繁體中文 +