node/test/fixtures/test-runner/execution-ordered-bypass/slow.mjs
Moshe Atlow 1ddb754d39
test_runner: dont buffer unordered events in process isolation mode
Signed-off-by: Moshe Atlow <moshe@atlow.co.il>
PR-URL: https://github.com/nodejs/node/pull/63432
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2026-05-24 19:48:42 +00:00

9 lines
367 B
JavaScript

import { test } from 'node:test';
import { setTimeout as sleep } from 'node:timers/promises';
test('slow', async () => {
// Long enough that fast-fail's process can spawn, run, and round-trip its
// bypassed test:complete to the host on slow CI, but short enough that the
// test does not waste much time when the bypass is working.
await sleep(30_000);
});