Skip to content

Commit

Permalink
test: re-enable disabled tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Mar 6, 2024
1 parent e368fa9 commit aea921c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions apps/admin-component-tests/src/tests/testMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import {
runColTest,
runCurrencyInputTest,
runDropDownButtonTest,
runDropOffInputTest,
runFormGroupTest,
runHeadingTest,
runIconTest,
runImageTest,
runLinkTest,
runLoaderTest,
Expand All @@ -24,6 +26,7 @@ import {
runRadioInputTest,
runRowTest,
runSelectInputTest,
runSettingsDividerTest,
runTableColTest,
runTableRowTest,
runTableTest,
Expand All @@ -32,6 +35,7 @@ import {
runTextInputTest,
runTimeInputTest,
runToggleInputTest,
runTriStateInputTest,
} from '../components';

export type AdminComponentTest = (component: Omit<Component, 'props'>) => void;
Expand All @@ -44,8 +48,7 @@ export const testMap: Readonly<Record<AdminComponent, AdminComponentTest>> = 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,
Expand All @@ -55,8 +58,7 @@ export const testMap: Readonly<Record<AdminComponent, AdminComponentTest>> = Obj
[AdminComponent.TextInput]: runTextInputTest,
[AdminComponent.TimeInput]: runTimeInputTest,
[AdminComponent.ToggleInput]: runToggleInputTest,
/** @todo fix runTriStateInputTest */
[AdminComponent.TriStateInput]: () => undefined,
[AdminComponent.TriStateInput]: runTriStateInputTest,

/**
* Plain wrappers
Expand Down Expand Up @@ -95,11 +97,9 @@ export const testMap: Readonly<Record<AdminComponent, AdminComponentTest>> = 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,
});

0 comments on commit aea921c

Please sign in to comment.