PR-URL: https://github.com/nodejs/node/pull/57304 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
8 lines
209 B
JavaScript
8 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();
|
|
});
|