fix(jest-circus) correct concurrent event ordering #14221
Annotations
5 errors and 2 warnings
|
run tests using jest-jasmine:
e2e/__tests__/testFailingJasmine.test.ts#L21
expect(received).toMatchSnapshot()
Snapshot name: `throws an error about unsupported modifier 1`
- Snapshot - 6
+ Received + 6
@@ -12,34 +12,34 @@
25 |
at Object.failing (__tests__/statuses.test.js:22:4)
FAIL __tests__/worksWithConcurrentMode.test.js
- ● block with concurrent › failing test
+ ● block with concurrent › test should fail
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
- 9 | it('failing test', () => {
+ 9 | it('test should fail', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.failing('failing passes = fails', () => {
+ 13 | it.concurrent.failing('.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.failing('.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
@@ -59,21 +59,21 @@
9 | it('skipped failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentOnlyMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
↵
at Object.toMatchSnapshot (e2e/__tests__/testFailingJasmine.test.ts:21:16)
|
run tests using jest-jasmine:
e2e/__tests__/testFailingJasmine.test.ts#L21
expect(received).toMatchSnapshot()
Snapshot name: `throws an error about unsupported modifier 1`
- Snapshot - 6
+ Received + 6
@@ -12,34 +12,34 @@
25 |
at Object.failing (__tests__/statuses.test.js:22:4)
FAIL __tests__/worksWithConcurrentMode.test.js
- ● block with concurrent › failing test
+ ● block with concurrent › test should fail
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
- 9 | it('failing test', () => {
+ 9 | it('test should fail', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.failing('failing passes = fails', () => {
+ 13 | it.concurrent.failing('.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.failing('.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
@@ -59,21 +59,21 @@
9 | it('skipped failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentOnlyMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
↵
at Object.toMatchSnapshot (e2e/__tests__/testFailingJasmine.test.ts:21:16)
|
run tests using jest-jasmine:
e2e/__tests__/testFailingJasmine.test.ts#L21
expect(received).toMatchSnapshot()
Snapshot name: `throws an error about unsupported modifier 1`
- Snapshot - 6
+ Received + 6
@@ -12,34 +12,34 @@
25 |
at Object.failing (__tests__/statuses.test.js:22:4)
FAIL __tests__/worksWithConcurrentMode.test.js
- ● block with concurrent › failing test
+ ● block with concurrent › test should fail
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
- 9 | it('failing test', () => {
+ 9 | it('test should fail', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.failing('failing passes = fails', () => {
+ 13 | it.concurrent.failing('.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.failing('.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
@@ -59,21 +59,21 @@
9 | it('skipped failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentOnlyMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
↵
at Object.toMatchSnapshot (e2e/__tests__/testFailingJasmine.test.ts:21:16)
|
run tests using jest-jasmine
Final attempt failed. Child_process exited with error code 1
|
run tests using jest-jasmine
Attempt 1 failed. Reason: Child_process exited with error code 1
|
run tests using jest-jasmine
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Loading