mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
PR-URL: https://github.com/nodejs/node/pull/43977 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
7 lines
284 B
JavaScript
7 lines
284 B
JavaScript
const test = require('node:test');
|
|
const { setTimeout } = require('timers/promises');
|
|
|
|
// We are using a very large timeout value to ensure that the parent process
|
|
// will have time to send a SIGINT signal to cancel the test.
|
|
test('never ending test', () => setTimeout(100_000_000));
|