Tips to use Storybook at Twenty #7238
Devessier
started this conversation in
Engineering vision
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! I had to play with Storybook and wrote a few tips. Feel free to expand this list!
Execute Storybook Test Runner on a single file
Start the Storybook dev server:
Then, execute the test runner of the file you want:
Override a global MSW mock in a story
Some MSW handlers are put in the global scope, in the
graphqlMocks.handlers
array. If you want to override these global mocks, be sure to define your mock first.Beta Was this translation helpful? Give feedback.
All reactions