You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
Hello! I've faced the issue similar to mswjs/msw-storybook-addon#43
For example, if there are rules defined both on global level
and story level
then global ones will be overridden in resulting config
This is correct behaviour based on parameter-inheritance
But it is really inconvenient in case we want to turn off a couple of rules for all stories and then ignore one more in a single story.
Describe the solution you'd like
It would help a lot if
config.rules
could accept not only arraybut also object
Then rules will be merged
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions