node/test/es-module/test-esm-named-exports.mjs

10 lines
313 B
JavaScript

// Flags: --experimental-loader ./test/fixtures/es-module-loaders/builtin-named-exports-loader.mjs
import '../common/index.mjs';
import { readFile, __fromLoader } from 'fs';
import assert from 'assert';
import ok from '../fixtures/es-modules/test-esm-ok.mjs';
assert(ok);
assert(readFile);
assert(__fromLoader);