Skip to content

Commit eadba47

Browse files
committed
test: update fixture
1 parent c3c7999 commit eadba47

File tree

1 file changed

+3
-4
lines changed
  • test/fixtures/test-runner/bailout/hooks-order

1 file changed

+3
-4
lines changed

test/fixtures/test-runner/bailout/hooks-order/test.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ describe('hooks order in bailout', () => {
2525
throw new Error('First test failed');
2626
});
2727

28-
it('second test that should not run', {
29-
before: () => order.push('before2'), // This should not run because of bailout
30-
after: () => order.push('after2'), // This should not run because of bailout
31-
}, () => {
28+
it('second test that should not run', () => {
29+
before(() => order.push('before2')); // This should not run because of bailout
30+
after(() => order.push('after2')); // This should not run because of bailout
3231
order.push('test2');
3332
throw new Error('This test should not run');
3433
});

0 commit comments

Comments
 (0)