Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/es-module/test-esm-namespace.mjs')
-rw-r--r--test/es-module/test-esm-namespace.mjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/es-module/test-esm-namespace.mjs b/test/es-module/test-esm-namespace.mjs
new file mode 100644
index 00000000000..72b7fed4b33
--- /dev/null
+++ b/test/es-module/test-esm-namespace.mjs
@@ -0,0 +1,7 @@
+// Flags: --experimental-modules
+/* eslint-disable required-modules */
+
+import * as fs from 'fs';
+import assert from 'assert';
+
+assert.deepStrictEqual(Object.keys(fs), ['default']);