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
In this example, the source files are "instrumented" as if they were instrumented inside a Docker container. Still, Cypress code coverage plugin should find the matching current folder where same files exist and update `.nyc_output/out.json` file before generating reports.
4
+
5
+
Source files from `app` folder were instrumented into `dist` folder with command
6
+
7
+
```shell
8
+
$ npx nyc instrument app dist
9
+
```
10
+
11
+
Then the `index.html` file was copied into `dist` folder.
12
+
13
+
Then the source paths in [dist/main.js](dist/main.js) and [dist/second.js](dist/second.js) were changed to non-existent prefix folder `/var/www/test/site`.
14
+
15
+
When Cypress runs, the `.nyc_output/out.json` is updated, so the path is valid local path like:
0 commit comments