Files
node/test/es-module/test-esm-wasm-source-phase-not-defined-dynamic.mjs
2026-01-01 23:48:26 +00:00

11 lines
403 B
JavaScript

// Test that error is thrown for dynamic source phase imports not defined
import '../common/index.mjs';
import { spawnSyncAndAssert } from '../common/child_process.js';
import * as fixtures from '../common/fixtures.mjs';
spawnSyncAndAssert(
process.execPath,
['--no-warnings', fixtures.path('es-modules/test-wasm-source-phase-not-defined-dynamic.mjs')],
{ stdout: '', stderr: '', trim: true }
);