mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
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>
11 lines
451 B
JavaScript
11 lines
451 B
JavaScript
// Test that error is thrown for vm source phase dynamic import
|
|
import '../common/index.mjs';
|
|
import { spawnSyncAndAssert } from '../common/child_process.js';
|
|
import * as fixtures from '../common/fixtures.js';
|
|
|
|
spawnSyncAndAssert(
|
|
process.execPath,
|
|
['--no-warnings', '--experimental-vm-modules', fixtures.path('es-modules/test-wasm-vm-source-phase-dynamic.mjs')],
|
|
{ status: 1, stderr: /Source phase import object is not defined for module/ }
|
|
);
|