-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67d1e47
commit e9825d3
Showing
5 changed files
with
155 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
integration-tests/__tests__/__snapshots__/coverage_threshold.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`exits with 1 if coverage threshold is not met 1`] = ` | ||
"----------------|----------|----------|----------|----------|----------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
----------------|----------|----------|----------|----------|----------------| | ||
All files | 50 | 100 | 0 | 50 | | | ||
not-covered.js | 50 | 100 | 0 | 50 | 3 | | ||
----------------|----------|----------|----------|----------|----------------| | ||
"----------------|----------|----------|----------|----------|-------------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | | ||
----------------|----------|----------|----------|----------|-------------------| | ||
All files | 50 | 100 | 0 | 50 | | | ||
not-covered.js | 50 | 100 | 0 | 50 | 3 | | ||
----------------|----------|----------|----------|----------|-------------------| | ||
" | ||
`; |
34 changes: 17 additions & 17 deletions
34
integration-tests/__tests__/__snapshots__/transform.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`babel-jest instruments only specific files and collects coverage 1`] = ` | ||
"------------|----------|----------|----------|----------|----------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
------------|----------|----------|----------|----------|----------------| | ||
All files | 83.33 | 100 | 50 | 83.33 | | | ||
Covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
------------|----------|----------|----------|----------|----------------| | ||
"------------|----------|----------|----------|----------|-------------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | | ||
------------|----------|----------|----------|----------|-------------------| | ||
All files | 83.33 | 100 | 50 | 83.33 | | | ||
Covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
------------|----------|----------|----------|----------|-------------------| | ||
" | ||
`; | ||
|
||
exports[`custom transformer instruments files 1`] = ` | ||
"----------|----------|----------|----------|----------|----------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
----------|----------|----------|----------|----------|----------------| | ||
All files | Unknown | Unknown | Unknown | Unknown | | | ||
----------|----------|----------|----------|----------|----------------| | ||
"----------|----------|----------|----------|----------|-------------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | | ||
----------|----------|----------|----------|----------|-------------------| | ||
All files | Unknown | Unknown | Unknown | Unknown | | | ||
----------|----------|----------|----------|----------|-------------------| | ||
" | ||
`; | ||
|
||
exports[`no babel-jest instrumentation with no babel-jest 1`] = ` | ||
"------------|----------|----------|----------|----------|----------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
------------|----------|----------|----------|----------|----------------| | ||
All files | 83.33 | 100 | 50 | 83.33 | | | ||
Covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
------------|----------|----------|----------|----------|----------------| | ||
"------------|----------|----------|----------|----------|-------------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | | ||
------------|----------|----------|----------|----------|-------------------| | ||
All files | 83.33 | 100 | 50 | 83.33 | | | ||
Covered.js | 83.33 | 100 | 50 | 83.33 | 15 | | ||
------------|----------|----------|----------|----------|-------------------| | ||
" | ||
`; |
12 changes: 6 additions & 6 deletions
12
integration-tests/__tests__/__snapshots__/typescript_coverage.test.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`instruments and collects coverage for typescript files 1`] = ` | ||
"------------|----------|----------|----------|----------|----------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | ||
------------|----------|----------|----------|----------|----------------| | ||
All files | 100 | 100 | 100 | 100 | | | ||
covered.ts | 100 | 100 | 100 | 100 | | | ||
------------|----------|----------|----------|----------|----------------| | ||
"------------|----------|----------|----------|----------|-------------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | | ||
------------|----------|----------|----------|----------|-------------------| | ||
All files | 100 | 100 | 100 | 100 | | | ||
covered.ts | 100 | 100 | 100 | 100 | | | ||
------------|----------|----------|----------|----------|-------------------| | ||
" | ||
`; |
Oops, something went wrong.