node/test/es-module/test-esm-wasm-globals-all-types.mjs
Antoine du Hamel 0457bfee2c
test: forbid use of named imports for fixtures
PR-URL: https://github.com/nodejs/node/pull/61228
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
2026-01-01 23:48:26 +00:00

10 lines
377 B
JavaScript

// Test that all WebAssembly global types are properly handled
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-globals-all-types.mjs')],
{ stdout: '', stderr: '', trim: true }
);