mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
docs: describe default jest param behaviour
This commit is contained in:
parent
b0cb559167
commit
727b320f0b
@ -128,6 +128,9 @@ defaultView.parameters = {
|
||||
};
|
||||
```
|
||||
|
||||
The jest parameter will default to inferring from your story file name if not provided. For example, if your story file is `MyComponent.stories.js`,
|
||||
then "MyComponent" will be used to find your test file results.
|
||||
|
||||
### Disabling
|
||||
|
||||
You can disable the addon for a single story by setting the `jest` parameter to `{disable: true}`:
|
||||
|
Loading…
x
Reference in New Issue
Block a user