Skip to content

Commit

Permalink
fix(deps): update dependency nyc to v15 (#497)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency nyc to v15

* test: ensure argv with nyc object

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Egill Sveinbjörnsson <egill.sveinbjornsson@qlik.com>
  • Loading branch information
3 people committed Sep 2, 2020
1 parent 35805a6 commit e566675
Show file tree
Hide file tree
Showing 5 changed files with 228 additions and 322 deletions.
2 changes: 1 addition & 1 deletion commands/cdp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"chrome-unmirror": "0.1.0",
"globby": "11.0.1",
"import-cwd": "3.0.0",
"nyc": "14.1.1",
"nyc": "15.1.0",
"precinct": "5.3.1",
"source-map-support": "0.5.19",
"test-exclude": "6.0.0"
Expand Down
2 changes: 1 addition & 1 deletion commands/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"globby": "11.0.1",
"import-cwd": "3.0.0",
"mocha": "7.2.0",
"nyc": "14.1.1"
"nyc": "15.1.0"
},
"files": [
"/src"
Expand Down
2 changes: 2 additions & 0 deletions commands/node/test/unit/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ describe('Node command', () => {
sandbox.stub(runner, 'deleteCoverage').returnsThis();
sandbox.stub(runner, 'setup').returnsThis();
sandbox.stub(runner, 'runTests').returnsThis();
runner.argv = { nyc: {} };
runner.mochaRunner = mochaRunner;
runner.setupBabel = sandbox.stub();
runner.setupAndRunTests([], []);
Expand All @@ -160,6 +161,7 @@ describe('Node command', () => {
const del = sandbox.stub(runner, 'deleteCoverage').returnsThis();
const set = sandbox.stub(runner, 'setup').returnsThis();
const run = sandbox.stub(runner, 'runTests').returnsThis();
runner.argv = { nyc: {} };
runner.mochaRunner = mochaRunner;
runner.setupBabel = sandbox.stub();
runner.setupAndRunTests([], []);
Expand Down
2 changes: 1 addition & 1 deletion packages/transform-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@after-work.js/transform": "6.0.13",
"@after-work.js/utils": "6.0.13",
"import-cwd": "3.0.0",
"nyc": "14.1.1",
"nyc": "15.1.0",
"test-exclude": "6.0.0",
"yargs": "15.4.1"
},
Expand Down
Loading

0 comments on commit e566675

Please sign in to comment.