Fixes: https://github.com/nodejs/node/issues/44612 PR-URL: https://github.com/nodejs/node/pull/45264 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
5 lines
128 B
JavaScript
5 lines
128 B
JavaScript
import test from 'node:test';
|
|
|
|
test('extraneous async activity test', () => {
|
|
setImmediate(() => { throw new Error(); });
|
|
});
|