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-snapshot.mjs')
-rw-r--r--test/es-module/test-esm-snapshot.mjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/es-module/test-esm-snapshot.mjs b/test/es-module/test-esm-snapshot.mjs
new file mode 100644
index 00000000000..89034f56681
--- /dev/null
+++ b/test/es-module/test-esm-snapshot.mjs
@@ -0,0 +1,7 @@
+// Flags: --experimental-modules
+/* eslint-disable required-modules */
+import './esm-snapshot-mutator';
+import one from './esm-snapshot';
+import assert from 'assert';
+
+assert.strictEqual(one, 1);