Skip to content

Commit

Permalink
failing tests were not configured to actually fail
Browse files Browse the repository at this point in the history
  • Loading branch information
madcapnmckay committed Nov 15, 2024
1 parent 849a1f9 commit df577c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions e2e/test-failing/__tests__/worksWithConcurrentMode.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ describe('block with concurrent', () => {
});

it.concurrent.failing('failing passes = fails', () => {
expect(10).toBe(10);
expect(10).toBe(101);
});

test.concurrent.failing.each([
{a: 1, b: 1, expected: 2},
{a: 1, b: 2, expected: 3},
{a: 2, b: 1, expected: 3},
])('.add($a, $b)', ({a, b, expected}) => {
expect(a + b).toBe(expected);
expect(a + b).toBe(expected + 1);
});

it.concurrent.failing('failing fails = passes', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('block with concurrent', () => {
});

it.concurrent.only.failing('failing passes = fails', () => {
expect(10).toBe(10);
expect(10).toBe(101);
});

test.concurrent.only.failing.each([
Expand Down

0 comments on commit df577c2

Please sign in to comment.