From aea921c45f453ee8f4d0aab09c924ccda5c9a5ab Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Wed, 6 Mar 2024 12:28:41 +0100 Subject: [PATCH] test: re-enable disabled tests --- apps/admin-component-tests/src/tests/testMap.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/admin-component-tests/src/tests/testMap.ts b/apps/admin-component-tests/src/tests/testMap.ts index 717cc1f7..26791279 100644 --- a/apps/admin-component-tests/src/tests/testMap.ts +++ b/apps/admin-component-tests/src/tests/testMap.ts @@ -10,8 +10,10 @@ import { runColTest, runCurrencyInputTest, runDropDownButtonTest, + runDropOffInputTest, runFormGroupTest, runHeadingTest, + runIconTest, runImageTest, runLinkTest, runLoaderTest, @@ -24,6 +26,7 @@ import { runRadioInputTest, runRowTest, runSelectInputTest, + runSettingsDividerTest, runTableColTest, runTableRowTest, runTableTest, @@ -32,6 +35,7 @@ import { runTextInputTest, runTimeInputTest, runToggleInputTest, + runTriStateInputTest, } from '../components'; export type AdminComponentTest = (component: Omit) => void; @@ -44,8 +48,7 @@ export const testMap: Readonly> = Obj [AdminComponent.CheckboxInput]: runCheckboxInputTest, [AdminComponent.CodeEditor]: runCodeEditorTest, [AdminComponent.CurrencyInput]: runCurrencyInputTest, - /** @todo fix runDropOffInputTest */ - [AdminComponent.DropOffInput]: () => undefined, + [AdminComponent.DropOffInput]: runDropOffInputTest, [AdminComponent.MultiSelectInput]: runMultiSelectInputTest, [AdminComponent.NumberInput]: runNumberInputTest, [AdminComponent.RadioGroup]: runRadioGroupTest, @@ -55,8 +58,7 @@ export const testMap: Readonly> = Obj [AdminComponent.TextInput]: runTextInputTest, [AdminComponent.TimeInput]: runTimeInputTest, [AdminComponent.ToggleInput]: runToggleInputTest, - /** @todo fix runTriStateInputTest */ - [AdminComponent.TriStateInput]: () => undefined, + [AdminComponent.TriStateInput]: runTriStateInputTest, /** * Plain wrappers @@ -95,11 +97,9 @@ export const testMap: Readonly> = Obj */ [AdminComponent.Badge]: runBadgeTest, [AdminComponent.Heading]: runHeadingTest, - /** @todo fix runIconTest */ - [AdminComponent.Icon]: () => undefined, + [AdminComponent.Icon]: runIconTest, [AdminComponent.Image]: runImageTest, [AdminComponent.Loader]: runLoaderTest, [AdminComponent.Notification]: runNotificationTest, - /** @todo see if this is still necessary */ - [AdminComponent.SettingsDivider]: () => undefined, + [AdminComponent.SettingsDivider]: runSettingsDividerTest, });