mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
Update docs/writing-tests/test-coverage.md
Co-authored-by: Yann Braga <yannbf@gmail.com>
This commit is contained in:
parent
4f735ac2ed
commit
dab1b633b1
@ -122,7 +122,7 @@ Out of the box, code coverage tests work seamlessly with Storybook's test-runner
|
||||
|
||||
### Run test coverage in other frameworks
|
||||
|
||||
If you intend on running coverage tests in other frameworks (e.g., Vue, Svelte), you'll need to adjust your configuration and enable the required file extensions. For example, if you're using Vue, you'll need to add the following to your nyc configuration file (i.e., `nycrc.json` or `nyc.config.js`):
|
||||
If you intend on running coverage tests in frameworks with special files like Vue or Svelte, you'll need to adjust your configuration and enable the required file extensions. For example, if you're using Vue, you'll need to add the following to your nyc configuration file (i.e., `nycrc.json` or `nyc.config.js`):
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user