mirror of
https://github.com/nodejs/node.git
synced 2025-05-11 05:20:25 +00:00

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>
6 lines
248 B
JavaScript
6 lines
248 B
JavaScript
// Flags: --experimental-modules --loader ./test/fixtures/es-module-loaders/loader-with-dep.mjs
|
|
/* eslint-disable node-core/required-modules */
|
|
import '../fixtures/es-modules/test-esm-ok.mjs';
|
|
|
|
// We just test that this module doesn't fail loading
|