diff options
Diffstat (limited to 'test/es-module/test-esm-pkg-over-ext.mjs')
-rw-r--r-- | test/es-module/test-esm-pkg-over-ext.mjs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/es-module/test-esm-pkg-over-ext.mjs b/test/es-module/test-esm-pkg-over-ext.mjs new file mode 100644 index 00000000000..7e47c4c3269 --- /dev/null +++ b/test/es-module/test-esm-pkg-over-ext.mjs @@ -0,0 +1,8 @@ +// Flags: --experimental-modules +/* eslint-disable required-modules */ + +import resolved from '../fixtures/module-pkg-over-ext/inner'; +import expected from '../fixtures/module-pkg-over-ext/inner/package.json'; +import assert from 'assert'; + +assert.strictEqual(resolved, expected); |