-
-
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.
Add more e2e tests, ensure concurrent tests end with a time gap
- Loading branch information
1 parent
3e5bb4d
commit 99ada77
Showing
6 changed files
with
437 additions
and
53 deletions.
There are no files selected for viewing
212 changes: 179 additions & 33 deletions
212
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 |
---|---|---|
@@ -1,84 +1,230 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`runs the tests in the correct order 1`] = ` | ||
exports[`all passing runs the tests in the correct order 1`] = ` | ||
" console.log | ||
[[beforeAll]] | ||
beforeAll | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test one start]] | ||
START "one" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test three start]] | ||
START "two" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test five start]] | ||
START "three" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test six start]] | ||
START "four" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test seven (fails) start]] | ||
START "five" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test three end]] | ||
END: "three" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test eight start]] | ||
START "six" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test one end]] | ||
END: "one" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test nine start]] | ||
START "seven" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test six end]] | ||
END: "two" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test ten (fails) start]] | ||
START "eight" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test eight end]] | ||
END: "four" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test nine end]] | ||
START "nine" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[test five end]] | ||
END: "nine" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
at log (__tests__/concurrent.test.js:15:11) | ||
console.log | ||
[[afterAll]] | ||
START "ten" | ||
at log (__tests__/concurrent.test.js:12:29) | ||
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) | ||
" | ||
`; |
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.