mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
1f5ee33dcb
PR-URL: https://github.com/nodejs/node/pull/17131 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
8 lines
296 B
JavaScript
8 lines
296 B
JavaScript
// Flags: --experimental-modules --loader ./test/fixtures/es-module-loaders/loader-shared-dep.mjs
|
|
/* eslint-disable required-modules */
|
|
import assert from 'assert';
|
|
import './test-esm-ok.mjs';
|
|
import dep from '../fixtures/es-module-loaders/loader-dep.js';
|
|
|
|
assert.strictEqual(dep.format, 'esm');
|