Skip to content

Commit

Permalink
fix: Try to fix snapshots v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Savin committed Jan 22, 2020
1 parent ea0ea50 commit 82445bb
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
56 changes: 28 additions & 28 deletions e2e/__tests__/__snapshots__/coverage.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ exports[`using template "default" should report coverages 1`] = `
√ jest
↳ exit code: 0
===[ STDOUT ]===================================================================
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 83.33 | 100 | 66.67 | 80 | |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5 |
----------|----------|----------|----------|----------|-------------------|
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 83.33 | 100 | 66.67 | 80 |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5
----------|---------|----------|---------|---------|-------------------
===[ STDERR ]===================================================================
PASS ./Hello.spec.ts
Hello Class
√ should create a new Hello
√ should create a new Hello
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Expand All @@ -27,16 +27,16 @@ exports[`using template "with-babel-7" should report coverages 1`] = `
√ jest
↳ exit code: 0
===[ STDOUT ]===================================================================
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 83.33 | 100 | 66.67 | 80 | |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5 |
----------|----------|----------|----------|----------|-------------------|
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 83.33 | 100 | 66.67 | 80 |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5
----------|---------|----------|---------|---------|-------------------
===[ STDERR ]===================================================================
PASS ./Hello.spec.ts
Hello Class
√ should create a new Hello
√ should create a new Hello
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Expand All @@ -50,16 +50,16 @@ exports[`using template "with-babel-7-string-config" should report coverages 1`]
√ jest
↳ exit code: 0
===[ STDOUT ]===================================================================
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 83.33 | 100 | 66.67 | 80 | |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5 |
----------|----------|----------|----------|----------|-------------------|
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 83.33 | 100 | 66.67 | 80 |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5
----------|---------|----------|---------|---------|-------------------
===[ STDERR ]===================================================================
PASS ./Hello.spec.ts
Hello Class
√ should create a new Hello
√ should create a new Hello
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Expand All @@ -73,16 +73,16 @@ exports[`using template "with-typescript-2-7" should report coverages 1`] = `
√ jest
↳ exit code: 0
===[ STDOUT ]===================================================================
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 83.33 | 100 | 66.67 | 80 | |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5 |
----------|----------|----------|----------|----------|-------------------|
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 83.33 | 100 | 66.67 | 80 |
Hello.ts | 83.33 | 100 | 66.67 | 80 | 5
----------|---------|----------|---------|---------|-------------------
===[ STDERR ]===================================================================
PASS ./Hello.spec.ts
Hello Class
√ should create a new Hello
√ should create a new Hello
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Expand Down
8 changes: 4 additions & 4 deletions e2e/__tests__/__snapshots__/deep-path.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Deep paths test should pass using template "default": lcov 1`] = `
"TN:
SF:<cwd>/src/Button/click.ts
SF:../Button/click.ts
FN:3,click
FNF:1
FNH:1
Expand Down Expand Up @@ -51,7 +51,7 @@ exports[`Deep paths test should pass using template "default": output 1`] = `

exports[`Deep paths test should pass using template "with-babel-7": lcov 1`] = `
"TN:
SF:<cwd>/src/Button/click.ts
SF:../Button/click.ts
FN:3,click
FNF:1
FNH:1
Expand Down Expand Up @@ -100,7 +100,7 @@ exports[`Deep paths test should pass using template "with-babel-7": output 1`] =

exports[`Deep paths test should pass using template "with-babel-7-string-config": lcov 1`] = `
"TN:
SF:<cwd>/src/Button/click.ts
SF:../Button/click.ts
FN:3,click
FNF:1
FNH:1
Expand Down Expand Up @@ -149,7 +149,7 @@ exports[`Deep paths test should pass using template "with-babel-7-string-config"

exports[`Deep paths test should pass using template "with-typescript-2-7": lcov 1`] = `
"TN:
SF:<cwd>/src/Button/click.ts
SF:../Button/click.ts
FN:3,click
FNF:1
FNH:1
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"test": "run-s -s test:e2e \"test:unit -- {@}\" --",
"test:prepare": "npm run test:e2e -- --prepareOnly",
"test:e2e": "node scripts/e2e.js",
"test:e2e:update-snaphots": "node scripts/e2e.js --updateSnapshot",
"test:unit": "node_modules/.bin/jest",
"test:external": "node scripts/test-external-project.js",
"lint": "run-s lint:ts lint:js",
Expand Down

0 comments on commit 82445bb

Please sign in to comment.