-
-
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.
use raw serializer for e2e output snapshots (#7651)
- Loading branch information
Showing
160 changed files
with
826 additions
and
1,061 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
10 changes: 4 additions & 6 deletions
10
e2e/__tests__/__snapshots__/cliHandlesExactFilenames.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,21 +1,19 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`CLI accepts exact file names if matchers matched 1`] = ` | ||
"PASS foo/bar.spec.js | ||
PASS foo/bar.spec.js | ||
✓ foo | ||
Force exiting Jest | ||
Have you considered using \`--detectOpenHandles\` to detect async operations that kept running after all tests finished?" | ||
Have you considered using \`--detectOpenHandles\` to detect async operations that kept running after all tests finished? | ||
`; | ||
|
||
exports[`CLI accepts exact file names if matchers matched 2`] = ` | ||
"Test Suites: 1 passed, 1 total | ||
Test Suites: 1 passed, 1 total | ||
Tests: 1 passed, 1 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all test suites matching /.\\\\/foo\\\\/bar.spec.js/i." | ||
Ran all test suites matching /.\\/foo\\/bar.spec.js/i. | ||
`; | ||
exports[`CLI accepts exact file names if matchers matched 3`] = `""`; |
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
e2e/__tests__/__snapshots__/consoleLogOutputWhenRunInBand.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,25 +1,25 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`prints console.logs when run with forceExit 1`] = ` | ||
"PASS __tests__/a-banana.js | ||
PASS __tests__/a-banana.js | ||
✓ banana | ||
Force exiting Jest | ||
Have you considered using \`--detectOpenHandles\` to detect async operations that kept running after all tests finished?" | ||
Have you considered using \`--detectOpenHandles\` to detect async operations that kept running after all tests finished? | ||
`; | ||
|
||
exports[`prints console.logs when run with forceExit 2`] = ` | ||
"Test Suites: 1 passed, 1 total | ||
Test Suites: 1 passed, 1 total | ||
Tests: 1 passed, 1 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all test suites." | ||
Ran all test suites. | ||
`; | ||
exports[`prints console.logs when run with forceExit 3`] = ` | ||
" console.log __tests__/a-banana.js:2 | ||
console.log __tests__/a-banana.js:2 | ||
Hey | ||
" | ||
`; |
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
Oops, something went wrong.