Skip to content

Commit

Permalink
test: update fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarchini committed Jan 13, 2025
1 parent c3c7999 commit eadba47
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/fixtures/test-runner/bailout/hooks-order/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ describe('hooks order in bailout', () => {
throw new Error('First test failed');
});

it('second test that should not run', {
before: () => order.push('before2'), // This should not run because of bailout
after: () => order.push('after2'), // This should not run because of bailout
}, () => {
it('second test that should not run', () => {
before(() => order.push('before2')); // This should not run because of bailout
after(() => order.push('after2')); // This should not run because of bailout
order.push('test2');
throw new Error('This test should not run');
});
Expand Down

0 comments on commit eadba47

Please sign in to comment.