mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 12:10:08 +01:00
8c5c2c18b6
This reverts commit 22cb99d073
.
PR-URL: https://github.com/nodejs/node/pull/53183
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
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);
|