Skip to content

Commit

Permalink
test: fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Apr 18, 2024
1 parent 8d18b4d commit bd92ab9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tap-snapshots/test/nyc-integration.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ All files | 80 | 100 | 50 | 80 |
`

exports[`test/nyc-integration.js > TAP > can run "npm test" which directly invokes a test file > stdout 1`] = `
> test
> node ./half-covered.js
-----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-----------------|---------|----------|---------|---------|-------------------
Expand Down
2 changes: 1 addition & 1 deletion test/nyc-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ t.test('--use-spawn-wrap=false is functional', t => testSuccess(t, {
}))

t.test('can run "npm test" which directly invokes a test file', t => testSuccess(t, {
args: ['npm', '--silent', 'test'],
args: ['npm', 'test'],
cwd: path.resolve(fixturesCLI, 'run-npm-test')
}))

Expand Down

0 comments on commit bd92ab9

Please sign in to comment.