node/test/fixtures/test-runner/never_ending_sync.js
Moshe Atlow 26e27424ad
test_runner: graceful termination on --test only
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>
2022-07-27 08:02:07 +01:00

5 lines
90 B
JavaScript

const test = require('node:test');
test('never ending test', () => {
while (true);
});