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
The file has to end with "main.js". You can specify part of the path, like this
24
+
25
+
```shell
26
+
npx check-coverage src/app/main.js
27
+
```
28
+
14
29
## only-covered
15
30
16
-
By default `only-covered` script reads `.nyc_output/out.json` file from the current working directory. You can specify a different file using `--from` parameter
31
+
Check if the coverage JSON file only the given list of files and nothing else. By default `only-covered` script reads `.nyc_output/out.json` file from the current working directory. You can specify a different file using `--from` parameter.
17
32
18
33
```shell
34
+
# check if coverage has info about two files and nothing else
35
+
only-covered src/lib/utils.ts src/main.js
36
+
# read coverage from another file and check if it only has info on "main.js"
0 commit comments