forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back support for skipped tests in the CLI. (jestjs#1836)
- Loading branch information
Showing
23 changed files
with
226 additions
and
166 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
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
48 changes: 24 additions & 24 deletions
48
integration_tests/__tests__/__snapshots__/stack_trace-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,53 +1,53 @@ | ||
exports[`Stack Trace does not print a stack trace for errors when --noStackTrace is given 1`] = ` | ||
"Test Suites: 1 failed, 0 passed, 1 total | ||
Tests: 3 failed, 0 passed, 3 total | ||
Snapshots: 0 passed, 0 total | ||
"Test Suites: 1 failed, 1 total | ||
Tests: 3 failed, 3 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all tests matching \"test-error-test.js\". | ||
Ran all test suites matching \"test-error-test.js\". | ||
" | ||
`; | ||
exports[`Stack Trace does not print a stack trace for matching errors when --noStackTrace is given 1`] = ` | ||
"Test Suites: 1 failed, 0 passed, 1 total | ||
Tests: 1 failed, 0 passed, 1 total | ||
Snapshots: 0 passed, 0 total | ||
"Test Suites: 1 failed, 1 total | ||
Tests: 1 failed, 1 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all tests matching \"stack-trace-test.js\". | ||
Ran all test suites matching \"stack-trace-test.js\". | ||
" | ||
`; | ||
exports[`Stack Trace does not print a stack trace for runtime errors when --noStackTrace is given 1`] = ` | ||
"Test Suites: 1 failed, 0 passed, 1 total | ||
Tests: 0 passed, 0 total | ||
Snapshots: 0 passed, 0 total | ||
"Test Suites: 1 failed, 1 total | ||
Tests: 0 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all tests matching \"runtime-error-test.js\". | ||
Ran all test suites matching \"runtime-error-test.js\". | ||
" | ||
`; | ||
exports[`Stack Trace prints a stack trace for errors 1`] = ` | ||
"Test Suites: 1 failed, 0 passed, 1 total | ||
Tests: 3 failed, 0 passed, 3 total | ||
Snapshots: 0 passed, 0 total | ||
"Test Suites: 1 failed, 1 total | ||
Tests: 3 failed, 3 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all tests matching \"test-error-test.js\". | ||
Ran all test suites matching \"test-error-test.js\". | ||
" | ||
`; | ||
exports[`Stack Trace prints a stack trace for matching errors 1`] = ` | ||
"Test Suites: 1 failed, 0 passed, 1 total | ||
Tests: 1 failed, 0 passed, 1 total | ||
Snapshots: 0 passed, 0 total | ||
"Test Suites: 1 failed, 1 total | ||
Tests: 1 failed, 1 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all tests matching \"stack-trace-test.js\". | ||
Ran all test suites matching \"stack-trace-test.js\". | ||
" | ||
`; | ||
exports[`Stack Trace prints a stack trace for runtime errors 1`] = ` | ||
"Test Suites: 1 failed, 0 passed, 1 total | ||
Tests: 0 passed, 0 total | ||
Snapshots: 0 passed, 0 total | ||
"Test Suites: 1 failed, 1 total | ||
Tests: 0 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all tests matching \"runtime-error-test.js\". | ||
Ran all test suites matching \"runtime-error-test.js\". | ||
" | ||
`; |
8 changes: 8 additions & 0 deletions
8
integration_tests/__tests__/__snapshots__/testNamePattern-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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
exports[`test testNamePattern 1`] = ` | ||
"Test Suites: 1 passed, 1 total | ||
Tests: 2 skipped, 2 passed, 4 total | ||
Snapshots: 0 total | ||
Time: <<REPLACED>> | ||
Ran all test suites with tests matching \"should match\". | ||
" | ||
`; |
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
Oops, something went wrong.