diff --git a/src/test/Settings/Settings.test.tsx b/src/test/Settings/Settings.test.tsx index 3bfc24f275..94cb432c57 100644 --- a/src/test/Settings/Settings.test.tsx +++ b/src/test/Settings/Settings.test.tsx @@ -70,6 +70,15 @@ jest.mock('@app/Settings/AutomatedAnalysisConfig', () => ({ } as UserSetting, })); +jest.mock('@app/Settings/ChartCardsConfig', () => ({ + ChartCardsConfig: { + titleKey: 'SETTINGS.CHARTS_CONFIG.TITLE', + descConstruct: 'SETTINGS.CHARTS_CONFIG.DESCRIPTION', + category: 'SETTINGS.CATEGORIES.DASHBOARD', + content: () => Chart Cards Config Component, + } as UserSetting, +})); + jest.mock('@app/Settings/CredentialsStorage', () => ({ CredentialsStorage: { titleKey: 'SETTINGS.CREDENTIALS_STORAGE.TITLE', diff --git a/src/test/Settings/__snapshots__/Settings.test.tsx.snap b/src/test/Settings/__snapshots__/Settings.test.tsx.snap index 437b9e6d7d..35f9a88faa 100644 --- a/src/test/Settings/__snapshots__/Settings.test.tsx.snap +++ b/src/test/Settings/__snapshots__/Settings.test.tsx.snap @@ -517,6 +517,57 @@ exports[` renders correctly 1`] = `

+
+
+ + +
+
+
+
+ + Set configuration options for the behaviour of Metrics cards on the Dashboard. + +
+
+

+ Chart Cards Config Component +

+
+
renders correctly 1`] = ` >

@@ -570,7 +621,7 @@ exports[` renders correctly 1`] = `

renders correctly 1`] = ` >

@@ -621,7 +672,7 @@ exports[` renders correctly 1`] = `