Update docs/writing-tests/test-coverage.md

Co-authored-by: Yann Braga <yannbf@gmail.com>
This commit is contained in:
jonniebigodes 2022-11-30 16:55:22 +00:00 committed by GitHub
parent 4f735ac2ed
commit dab1b633b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 -->