From f470f167e32d8f7775ad994f09afb1d353b0b300 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 21 Apr 2023 10:47:47 -0300 Subject: integrate anastasis to the web-utils testing api --- packages/anastasis-webui/src/pages/home/StartScreen.stories.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/anastasis-webui/src/pages/home/StartScreen.stories.tsx') diff --git a/packages/anastasis-webui/src/pages/home/StartScreen.stories.tsx b/packages/anastasis-webui/src/pages/home/StartScreen.stories.tsx index 960426098..3745c834b 100644 --- a/packages/anastasis-webui/src/pages/home/StartScreen.stories.tsx +++ b/packages/anastasis-webui/src/pages/home/StartScreen.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 { StartScreen as TestedComponent } from "./StartScreen.js"; export default { @@ -34,7 +35,8 @@ export default { }, }; -export const InitialState = createExample( +export const InitialState = tests.createExample( TestedComponent, + {}, reducerStatesExample.initial, ); -- cgit v1.2.3