-
-
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
Showing
18 changed files
with
316 additions
and
363 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
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
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
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
110 changes: 50 additions & 60 deletions
110
integration_tests/__tests__/__snapshots__/snapshot-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,99 +1,89 @@ | ||
exports[`Snapshot Validation deletes a snapshot when a test does removes all the snapshots 1`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 3 passed (3 total) | ||
tests: 7 passed (7 total) | ||
snapshots: 7 added, 0 passed (7 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 3 passed, 3 total | ||
Tests: 7 passed, 7 total | ||
Snapshots: 7 added, 0 passed, 7 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot Validation deletes a snapshot when a test does removes all the snapshots 2`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 3 passed (3 total) | ||
tests: 5 passed (5 total) | ||
snapshots: 4 passed (4 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 3 passed, 3 total | ||
Tests: 5 passed, 5 total | ||
Snapshots: 4 passed, 4 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot Validation deletes the snapshot if the test file has been removed 1`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 3 passed (3 total) | ||
tests: 7 passed (7 total) | ||
snapshots: 7 added, 0 passed (7 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 3 passed, 3 total | ||
Tests: 7 passed, 7 total | ||
Snapshots: 7 added, 0 passed, 7 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot Validation deletes the snapshot if the test file has been removed 2`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 2 passed (2 total) | ||
tests: 4 passed (4 total) | ||
snapshots: 4 passed (4 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 2 passed, 2 total | ||
Tests: 4 passed, 4 total | ||
Snapshots: 4 passed, 4 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot Validation updates the snapshot when a test removes some snapshots 1`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 3 passed (3 total) | ||
tests: 7 passed (7 total) | ||
snapshots: 7 added, 0 passed (7 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 3 passed, 3 total | ||
Tests: 7 passed, 7 total | ||
Snapshots: 7 added, 0 passed, 7 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot Validation updates the snapshot when a test removes some snapshots 2`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 3 passed (3 total) | ||
tests: 7 passed (7 total) | ||
snapshots: 1 updated, 5 passed (6 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 3 passed, 3 total | ||
Tests: 7 passed, 7 total | ||
Snapshots: 1 updated, 5 passed, 6 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot works as expected 1`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 2 passed (2 total) | ||
tests: 4 passed (4 total) | ||
snapshots: 4 added, 0 passed (4 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 2 passed, 2 total | ||
Tests: 4 passed, 4 total | ||
Snapshots: 4 added, 0 passed, 4 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot works with escaped characters 1`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 1 passed (1 total) | ||
tests: 1 passed (1 total) | ||
snapshots: 1 added, 0 passed (1 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 1 passed, 1 total | ||
Tests: 1 passed, 1 total | ||
Snapshots: 1 added, 0 passed, 1 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot works with escaped characters 2`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 1 passed (1 total) | ||
tests: 2 passed (2 total) | ||
snapshots: 1 added, 1 passed (2 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 1 passed, 1 total | ||
Tests: 2 passed, 2 total | ||
Snapshots: 1 added, 1 passed, 2 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; | ||
exports[`Snapshot works with escaped characters 3`] = ` | ||
"Test Summary: › Ran all tests. | ||
suites: 1 passed (1 total) | ||
tests: 2 passed (2 total) | ||
snapshots: 2 passed (2 total) | ||
time: <<REPLACED>> | ||
"Test Suites: 1 passed, 1 total | ||
Tests: 2 passed, 2 total | ||
Snapshots: 2 passed, 2 total | ||
Time: <<REPLACED>> | ||
Ran all tests. | ||
" | ||
`; |
Oops, something went wrong.