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>
9 lines
367 B
JavaScript
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);
|
|
});
|