diff --git a/test/parallel/test-runner-no-isolation-different-cwd.mjs b/test/parallel/test-runner-no-isolation-different-cwd.mjs index 777322bce88da8..bdddd368d19f12 100644 --- a/test/parallel/test-runner-no-isolation-different-cwd.mjs +++ b/test/parallel/test-runner-no-isolation-different-cwd.mjs @@ -9,7 +9,7 @@ const stream = run({ }); -stream.on('test:pass', mustCall(5)); +stream.on('test:pass', mustCall(4)); // eslint-disable-next-line no-unused-vars for await (const _ of stream); allowGlobals(globalThis.GLOBAL_ORDER); @@ -18,27 +18,17 @@ deepStrictEqual(globalThis.GLOBAL_ORDER, [ 'suite one', 'before two: ', 'suite two', - 'beforeEach one: suite one - test', 'beforeEach two: suite one - test', 'suite one - test', 'afterEach one: suite one - test', 'afterEach two: suite one - test', - - 'beforeEach one: test one', - 'beforeEach two: test one', - 'test one', - 'afterEach one: test one', - 'afterEach two: test one', - 'before suite two: suite two', - 'beforeEach one: suite two - test', 'beforeEach two: suite two - test', 'suite two - test', 'afterEach one: suite two - test', 'afterEach two: suite two - test', - 'after one: ', 'after two: ', ]);