Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use relative paths
  • Loading branch information
bahmutov committed Mar 9, 2020
commit 277ef5b823df7b6475f543954e727ab428cd0657
2 changes: 2 additions & 0 deletions examples/before-each-visit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ Code was instrumented with
npx nyc instrument --compact false main.js > main-instrumented.js
```

and then removed absolute folder paths, leaving just relative path `main.js` in the produced file.

The code uses custom coverage report command in [package.json](package.json) to call `nyc`
80 changes: 40 additions & 40 deletions examples/before-each-visit/main-instrumented.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.