Delay snapshot option configurable on the global/story/component level for React #411
d3vl1m3
started this conversation in
Show and tell
Replies: 1 comment
-
Thank you, it works perfectly fine for me |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Was having issues with flaky tests and couldn't find a solid, flexible way of adding snapshot delays this out the box.
The config steps should work no matter what framework you are using in SB (React, Angular, etc)
But steps 2 and 3 will need to be modified to you work with how your framework handles the equivalent of React hooks.
I'd like to build it in to a Loki/SB plugin moving forward but for now:
createAsyncCallback
:loki.delayCapture
parameter:Beta Was this translation helpful? Give feedback.
All reactions