mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
fddcd6253b
Also consistently import the `common` module where possible. PR-URL: https://github.com/nodejs/node/pull/19409 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
8 lines
220 B
JavaScript
8 lines
220 B
JavaScript
// Flags: --experimental-modules
|
|
import '../common';
|
|
import '../fixtures/es-modules/esm-snapshot-mutator';
|
|
import one from '../fixtures/es-modules/esm-snapshot';
|
|
import assert from 'assert';
|
|
|
|
assert.strictEqual(one, 1);
|