diff options
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSetup.stories.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSetup.stories.tsx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSetup.stories.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSetup.stories.tsx index 8a32c45c1..9a92ae109 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSetup.stories.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSetup.stories.tsx @@ -19,7 +19,8 @@ * @author Sebastian Javier Marchano (sebasjm) */ -import { createExample, reducerStatesExample } from "../../../utils/index.js"; +import { tests } from "@gnu-taler/web-util/lib/index.browser"; +import { reducerStatesExample } from "../../../utils/index.js"; import { authMethods as TestedComponent, KnownAuthMethods } from "./index.js"; export default { @@ -36,17 +37,16 @@ export default { const type: KnownAuthMethods = "post"; -export const Empty = createExample( +export const Empty = tests.createExample( TestedComponent[type].setup, - reducerStatesExample.authEditing, { configured: [], }, + reducerStatesExample.authEditing, ); -export const WithOneExample = createExample( +export const WithOneExample = tests.createExample( TestedComponent[type].setup, - reducerStatesExample.authEditing, { configured: [ { @@ -57,11 +57,11 @@ export const WithOneExample = createExample( }, ], }, + reducerStatesExample.authEditing, ); -export const WithMoreExamples = createExample( +export const WithMoreExamples = tests.createExample( TestedComponent[type].setup, - reducerStatesExample.authEditing, { configured: [ { @@ -78,4 +78,5 @@ export const WithMoreExamples = createExample( }, ], }, + reducerStatesExample.authEditing, ); |