Files
Kmake/test/fixtures/test-runner/plan/timeout-expired.mjs
2026-05-26 23:36:42 -07:00

9 lines
209 B
JavaScript

import test from 'node:test';
test('planning should FAIL when wait time expires before plan is met', (t) => {
t.plan(2, { wait: 500 });
setTimeout(() => {
t.assert.ok(true);
}, 30_000).unref();
});