Skip to content

Commit 5b07400

Browse files
authored
Merge pull request #186 from kulshekhar/coverage-fix
Update coverage related tests with new values
2 parents 31e3a98 + d12b9fe commit 5b07400

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-jest",
3-
"version": "19.0.13",
3+
"version": "19.0.14",
44
"main": "index.js",
55
"types": "./dist/index.d.ts",
66
"description": "A preprocessor with sourcemap support to help use Typescript with Jest",

tests/__tests__/long-path.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ describe('Long (but not too long) path', () => {
77
`-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
88
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
99
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
10-
simple-long-long-long-long-long--long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long${path.sep} | 57.14 | 0 | 66.67 | 50 | |
10+
simple-long-long-long-long-long--long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long-long${path.sep} | 50 | 0 | 66.67 | 42.86 | |
1111
Hello.ts | 100 | 100 | 100 | 100 | |
12-
NullCoverage.js | 0 | 0 | 0 | 0 | 2,3,5 |
12+
NullCoverage.js | 0 | 0 | 0 | 0 | 1,2,3,5 |
1313
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
14-
All files | 57.14 | 0 | 66.67 | 50 | |
14+
All files | 50 | 0 | 66.67 | 42.86 | |
1515
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
1616
`;
1717

tests/__tests__/ts-coverage-async.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ describe('hello_world', () => {
77
`------------------|----------|----------|----------|----------|----------------|
88
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
99
------------------|----------|----------|----------|----------|----------------|
10-
simple-async${path.sep} | 71.43 | 33.33 | 66.67 | 66.67 | |
10+
simple-async${path.sep} | 66.67 | 33.33 | 66.67 | 61.54 | |
1111
Hello.ts | 90.91 | 50 | 80 | 88.89 | 20 |
12-
NullCoverage.js | 0 | 0 | 0 | 0 | 2,3,5 |
12+
NullCoverage.js | 0 | 0 | 0 | 0 | 1,2,3,5 |
1313
------------------|----------|----------|----------|----------|----------------|
14-
All files | 71.43 | 33.33 | 66.67 | 66.67 | |
14+
All files | 66.67 | 33.33 | 66.67 | 61.54 | |
1515
------------------|----------|----------|----------|----------|----------------|
1616
`;
1717

tests/__tests__/ts-coverage.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ describe('hello_world', () => {
77
`------------------|----------|----------|----------|----------|----------------|
88
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
99
------------------|----------|----------|----------|----------|----------------|
10-
simple${path.sep} | 71.43 | 33.33 | 66.67 | 66.67 | |
10+
simple${path.sep} | 66.67 | 33.33 | 66.67 | 61.54 | |
1111
Hello.ts | 90.91 | 50 | 80 | 88.89 | 20 |
12-
NullCoverage.js | 0 | 0 | 0 | 0 | 2,3,5 |
12+
NullCoverage.js | 0 | 0 | 0 | 0 | 1,2,3,5 |
1313
------------------|----------|----------|----------|----------|----------------|
14-
All files | 71.43 | 33.33 | 66.67 | 66.67 | |
14+
All files | 66.67 | 33.33 | 66.67 | 61.54 | |
1515
------------------|----------|----------|----------|----------|----------------|
1616
`;
1717

0 commit comments

Comments
 (0)