The test has been flaking due to either timeout or calling uv_async_send on a closing/closed handle. As the test squeezes too many independent test cases in one file, split it up to avoid timing out on slower machines and aid debugging. PR-URL: https://github.com/nodejs/node/pull/60491 Refs: https://github.com/nodejs/reliability/blob/main/reports/2025-10-29.md Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
7 lines
257 B
JavaScript
7 lines
257 B
JavaScript
// Test fixture that throws for vm source phase static import
|
|
import vm from 'node:vm';
|
|
|
|
const m1 = new vm.SourceTextModule('import source x from "y";');
|
|
const m2 = new vm.SourceTextModule('export var p = 5;');
|
|
await m1.link(() => m2);
|
|
await m1.evaluate();
|