loki icon indicating copy to clipboard operation
loki copied to clipboard

How to debug/reproduce static storybook tests?

Open QAFabianHuch opened this issue 5 years ago • 1 comments

When started with npx http-server ./storybook-static, my static storybook behaves different than when rendered by loki in a test. Is there a way to debug the test run, or can I reproduce how the storybook is started? I'm running loki with:

loki test --requireReference --reactUri file:./storybook-static

QAFabianHuch avatar Aug 05 '20 14:08 QAFabianHuch

For example, you can start http-server and run test like a loki test --requireReference --reactUri http://127.0.0.1:8080

HawkeyePierce89 avatar Jan 14 '21 10:01 HawkeyePierce89