From 1bc13ffa4235e0ba0c2d3d3856ecba1a831c581e Mon Sep 17 00:00:00 2001 From: Albert Wang Date: Sat, 15 May 2021 23:25:13 -0700 Subject: [PATCH] Update readme --- README.md | 2 +- lib/chromium.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27477610..e6fd4b8c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lib/chromium.js b/lib/chromium.js index b388442f..d8f413a3 100644 --- a/lib/chromium.js +++ b/lib/chromium.js @@ -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);