forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jest-circus) correct concurrent event ordering (jestjs#15381)
- Loading branch information
1 parent
95f21e4
commit fba7764
Showing
22 changed files
with
1,167 additions
and
111 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
230 changes: 230 additions & 0 deletions
230
e2e/__tests__/__snapshots__/circusConcurrent.test.ts.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,230 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`all passing runs the tests in the correct order 1`] = ` | ||
" console.log | ||
beforeAll | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "one" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "two" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "three" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "four" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "five" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "three" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "six" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "one" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "seven" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "two" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "eight" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "four" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "nine" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "nine" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
START "ten" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "five" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "six" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "seven" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "ten" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
END: "eight" | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
afterAll | ||
at log (__tests__/concurrent.test.js:15:11) | ||
" | ||
`; | ||
|
||
exports[`with only runs the tests in the correct order 1`] = ` | ||
" console.log | ||
beforeAll | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
console.log | ||
START "four" | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
console.log | ||
START "six" | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
console.log | ||
START "nine" | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
console.log | ||
END: "nine" | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
console.log | ||
END: "six" | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
console.log | ||
END: "four" | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
console.log | ||
afterAll | ||
at log (__tests__/concurrent-only.test.js:15:11) | ||
" | ||
`; | ||
|
||
exports[`with skip runs the tests in the correct order 1`] = ` | ||
" console.log | ||
beforeAll | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
START "one" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
START "two" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
START "four" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
START "seven" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
START "eight" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
END: "one" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
START "ten" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
END: "two" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
END: "seven" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
END: "four" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
END: "eight" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
END: "ten" | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
console.log | ||
afterAll | ||
at log (__tests__/concurrent-skip.test.js:15:11) | ||
" | ||
`; |
Oops, something went wrong.