Skip to content

Commit

Permalink
Add baseline switch to nyc instrument command
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Finlay committed Jan 2, 2020
1 parent f83e9d7 commit 7b8974e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,12 @@ const instrumentOnly = {
type: 'boolean',
default: false,
nycCommands: nycCommands.instrumentOnly
},
baseline: {
description: 'should nyc create a baseline coverage file?',
type: 'boolean',
default: false,
nycCommands: nycCommands.instrumentOnly
}
};

Expand Down
1 change: 1 addition & 0 deletions tap-snapshots/test-test.js-TAP.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Object {
"all": false,
"autoWrap": true,
"babelCache": false,
"baseline": false,
"branches": 0,
"cache": true,
"checkCoverage": false,
Expand Down

0 comments on commit 7b8974e

Please sign in to comment.