mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
a927adef9e
PR-URL: https://github.com/nodejs/node/pull/49493 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
10 lines
293 B
JavaScript
10 lines
293 B
JavaScript
// Flags: --import ./test/fixtures/es-module-loaders/builtin-named-exports.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);
|