From 4b2a6571d6e3ecf62b633aa4868fed5f89c04d28 Mon Sep 17 00:00:00 2001 From: Mysterious_Dev Date: Wed, 1 Feb 2023 23:34:12 +0100 Subject: [PATCH] Finish update tests --- .../src/__tests__/__snapshots__/translations.test.ts.snap | 4 ++++ .../src/__tests__/translations.test.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/docusaurus-theme-classic/src/__tests__/__snapshots__/translations.test.ts.snap b/packages/docusaurus-theme-classic/src/__tests__/__snapshots__/translations.test.ts.snap index 685ee988071d..003b11fc175c 100644 --- a/packages/docusaurus-theme-classic/src/__tests__/__snapshots__/translations.test.ts.snap +++ b/packages/docusaurus-theme-classic/src/__tests__/__snapshots__/translations.test.ts.snap @@ -104,6 +104,10 @@ exports[`getTranslationFiles returns translation files matching snapshot 2`] = ` "description": "The label of footer link with label=Link 2 linking to https://facebook.com", "message": "Link 2", }, + "logo.alt": { + "description": "The alt of footer logo", + "message": "footer alt logo", + }, }, "path": "footer", }, diff --git a/packages/docusaurus-theme-classic/src/__tests__/translations.test.ts b/packages/docusaurus-theme-classic/src/__tests__/translations.test.ts index d3aa5c6d016f..c2413d7664fd 100644 --- a/packages/docusaurus-theme-classic/src/__tests__/translations.test.ts +++ b/packages/docusaurus-theme-classic/src/__tests__/translations.test.ts @@ -60,6 +60,10 @@ const ThemeConfigSample = { const ThemeConfigSampleSimpleFooter: ThemeConfig = { ...ThemeConfigSample, footer: { + logo: { + alt: 'footer alt logo', + src: 'img/docusaurus.svg', + }, copyright: 'Copyright FB', style: 'light', links: [