Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
j03m committed Nov 28, 2019
1 parent 9b5763e commit 65a5453
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@ describe('c8', () => {
'--temp-directory=tmp/all-ts',
'--clean=false',
'--all=true',
'--include=test/fixtures/all/ts-compiled/**/*.ts',
'--include=test/fixtures/all/ts-compiled/**/*.js',
'--exclude="test/*.js"', // add an exclude to avoid default excludes of test/**
nodePath,
require.resolve('./fixtures/all/ts-compiled/main')
require.resolve('./fixtures/all/ts-compiled/main.js')
])
output.toString('utf8').should.matchSnapshot()
})
Expand Down
8 changes: 4 additions & 4 deletions test/integration.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ negative
-----------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-----------------|----------|----------|----------|----------|-------------------|
All files | 0 | 0 | 0 | 0 | |
ts-compiled | 0 | 0 | 0 | 0 | |
loaded.ts | 0 | 0 | 0 | 0 |... 15,16,17,18,19 |
main.ts | 0 | 0 | 0 | 0 | 1,2,3,4 |
All files | 64.29 | 66.67 | 50 | 64.29 | |
ts-compiled | 78.26 | 75 | 100 | 78.26 | |
loaded.ts | 73.68 | 71.43 | 100 | 73.68 | 4,5,16,17,18 |
main.ts | 100 | 100 | 100 | 100 | |
ts-compiled/dir | 0 | 0 | 0 | 0 | |
unloaded.ts | 0 | 0 | 0 | 0 | 1,2,3,4,5 |
-----------------|----------|----------|----------|----------|-------------------|
Expand Down

0 comments on commit 65a5453

Please sign in to comment.