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
feat: find missing files when using all:true option (#208)
* add example where a file should not be covered
* find files to include using globby
* insert empty coverage for missed files
* refactor a little
* change the icon for files without any statements
* confirm file not-covered is present in the final report
* search using default extension masks if include is not present
Copy file name to clipboardExpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,8 @@ For example, if you want to only include files in the `app` folder, but exclude
298
298
}
299
299
```
300
300
301
+
**Note:** if you have `all: true` NYC option set, this plugin will check the produced `.nyc_output/out.json` before generating the final report. If the `out.json` file does not have information for some files that should be there according to `include` list, then an empty placeholder will be included, see [PR 208](https://github.com/cypress-io/code-coverage/pull/208).
302
+
301
303
## Disable plugin
302
304
303
305
You can skip the client-side code coverage hooks by setting the environment variable `coverage` to `false`.
0 commit comments