Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw authored and mantoni committed May 23, 2021
1 parent eb70de7 commit 1bc13ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ The `mochify` function returns a Browserify instance. Please refer to the

## Code coverage with NYC

Install `nyc@14` (v15 is not yet supported!), the `babelify` transform,
Install `nyc`, the `babelify` transform,
`@babel/core` and `babel-plugin-istanbul`:

```bash
Expand Down
2 changes: 1 addition & 1 deletion lib/chromium.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module.exports = function (b, opts) {
if (text.indexOf('[COVERAGE ') === 0) {
var nycRootID = process.env.NYC_ROOT_ID;
if (!nycRootID) {
// NYC >v15 does not export a NYC_ROOT_ID so use a "random" uuid instead
// NYC >v15 does not export a NYC_ROOT_ID so use a "random" uuid
nycRootID = '4638ceac-c8d9-411d-9e1f-72755846a221';
}
var nycConfig = JSON.parse(process.env.NYC_CONFIG);
Expand Down

0 comments on commit 1bc13ff

Please sign in to comment.