Skip to content

Commit 1bc13ff

Browse files
albertywmantoni
authored andcommitted
Update readme
1 parent eb70de7 commit 1bc13ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ The `mochify` function returns a Browserify instance. Please refer to the
330330

331331
## Code coverage with NYC
332332

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

336336
```bash

lib/chromium.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ module.exports = function (b, opts) {
128128
if (text.indexOf('[COVERAGE ') === 0) {
129129
var nycRootID = process.env.NYC_ROOT_ID;
130130
if (!nycRootID) {
131-
// NYC >v15 does not export a NYC_ROOT_ID so use a "random" uuid instead
131+
// NYC >v15 does not export a NYC_ROOT_ID so use a "random" uuid
132132
nycRootID = '4638ceac-c8d9-411d-9e1f-72755846a221';
133133
}
134134
var nycConfig = JSON.parse(process.env.NYC_CONFIG);

0 commit comments

Comments
 (0)