Skip to content

Commit

Permalink
Merge pull request #186 from kulshekhar/coverage-fix
Browse files Browse the repository at this point in the history
Update coverage related tests with new values
  • Loading branch information
kulshekhar committed Apr 27, 2017
2 parents 31e3a98 + d12b9fe commit 5b07400
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-jest",
"version": "19.0.13",
"version": "19.0.14",
"main": "index.js",
"types": "./dist/index.d.ts",
"description": "A preprocessor with sourcemap support to help use Typescript with Jest",
Expand Down
6 changes: 3 additions & 3 deletions tests/__tests__/long-path.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ describe('Long (but not too long) path', () => {
`-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
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 | |
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 | |
Hello.ts | 100 | 100 | 100 | 100 | |
NullCoverage.js | 0 | 0 | 0 | 0 | 2,3,5 |
NullCoverage.js | 0 | 0 | 0 | 0 | 1,2,3,5 |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
All files | 57.14 | 0 | 66.67 | 50 | |
All files | 50 | 0 | 66.67 | 42.86 | |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|----------|----------|----------|----------------|
`;

Expand Down
6 changes: 3 additions & 3 deletions tests/__tests__/ts-coverage-async.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ describe('hello_world', () => {
`------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
------------------|----------|----------|----------|----------|----------------|
simple-async${path.sep} | 71.43 | 33.33 | 66.67 | 66.67 | |
simple-async${path.sep} | 66.67 | 33.33 | 66.67 | 61.54 | |
Hello.ts | 90.91 | 50 | 80 | 88.89 | 20 |
NullCoverage.js | 0 | 0 | 0 | 0 | 2,3,5 |
NullCoverage.js | 0 | 0 | 0 | 0 | 1,2,3,5 |
------------------|----------|----------|----------|----------|----------------|
All files | 71.43 | 33.33 | 66.67 | 66.67 | |
All files | 66.67 | 33.33 | 66.67 | 61.54 | |
------------------|----------|----------|----------|----------|----------------|
`;

Expand Down
6 changes: 3 additions & 3 deletions tests/__tests__/ts-coverage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ describe('hello_world', () => {
`------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
------------------|----------|----------|----------|----------|----------------|
simple${path.sep} | 71.43 | 33.33 | 66.67 | 66.67 | |
simple${path.sep} | 66.67 | 33.33 | 66.67 | 61.54 | |
Hello.ts | 90.91 | 50 | 80 | 88.89 | 20 |
NullCoverage.js | 0 | 0 | 0 | 0 | 2,3,5 |
NullCoverage.js | 0 | 0 | 0 | 0 | 1,2,3,5 |
------------------|----------|----------|----------|----------|----------------|
All files | 71.43 | 33.33 | 66.67 | 66.67 | |
All files | 66.67 | 33.33 | 66.67 | 61.54 | |
------------------|----------|----------|----------|----------|----------------|
`;

Expand Down

0 comments on commit 5b07400

Please sign in to comment.