We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c7999 commit eadba47Copy full SHA for eadba47
test/fixtures/test-runner/bailout/hooks-order/test.mjs
@@ -25,10 +25,9 @@ describe('hooks order in bailout', () => {
25
throw new Error('First test failed');
26
});
27
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
- }, () => {
+ 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
32
order.push('test2');
33
throw new Error('This test should not run');
34
0 commit comments