Skip to content

Commit e189623

Browse files
committed
chore(deps-dev): bump nyc from 14.1.1 to 15.1.0
1 parent a41fc0e commit e189623

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"eslint-plugin-import": "^2.26.0",
5353
"husky": "^8.0.1",
5454
"log4js": "^6.5.2",
55-
"nyc": "^14.1.1",
55+
"nyc": "^15.1.0",
5656
"tap": "^16.2.0",
5757
"validate-commit-msg": "^2.14.0"
5858
},

test/sandbox-coverage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ sandbox.configure({
99
if (this.filename.indexOf('node_modules') > -1) {
1010
return source;
1111
}
12-
return new NYC().instrumenter().instrumentSync(source, this.filename);
12+
const nyc = new NYC({});
13+
return nyc.instrumenter().instrumentSync(source, this.filename, { registerMap: () => {} });
1314
}
1415
}
1516
});

0 commit comments

Comments
 (0)