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>
7 lines
179 B
JavaScript
7 lines
179 B
JavaScript
// Flags: --experimental-modules
|
|
import '../common';
|
|
import assert from 'assert';
|
|
// ./test-esm-ok.mjs
|
|
import ok from '../fixtures/es-modules/test-%65%73%6d-ok.mjs';
|
|
|
|
assert(ok);
|