How to show console.log() when running in CLI? #29815
Unanswered
jhpedemonte
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
How can I see
console.log
s in a story when running in CLI (usingtest-storybook
)?I have a set of stories that use a custom
render()
along withuseArgs()
and mock/spy functions which are testing inplay()
for some of the stories. One of the stories fails when running in CLI, but not when run in the browser. So I'd like to add some logging in order to debug, but nothing from the browser console is shown in the command line.Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions