summaryrefslogtreecommitdiff
path: root/test/es-module/test-esm-example-loader.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2018-03-17 12:45:22 +0100
committerMichaël Zasso <targos@protonmail.com>2018-03-21 20:08:30 +0100
commitfddcd6253b237ca68430f44c7614bf52d57c4f97 (patch)
tree56860db681a37731705126654e0bcd77612ce3bf /test/es-module/test-esm-example-loader.js
parent9b7a6914a7f0bd754e78b42b48c75851cfd6b3c4 (diff)
downloadnode-new-fddcd6253b237ca68430f44c7614bf52d57c4f97.tar.gz
test: move ESM fixtures to fixtures dir
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>
Diffstat (limited to 'test/es-module/test-esm-example-loader.js')
-rw-r--r--test/es-module/test-esm-example-loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/es-module/test-esm-example-loader.js b/test/es-module/test-esm-example-loader.js
index f7f0fd059a..0b0001acea 100644
--- a/test/es-module/test-esm-example-loader.js
+++ b/test/es-module/test-esm-example-loader.js
@@ -1,6 +1,6 @@
// Flags: --experimental-modules --loader ./test/fixtures/es-module-loaders/example-loader.mjs
/* eslint-disable node-core/required-modules */
import assert from 'assert';
-import ok from './test-esm-ok.mjs';
+import ok from '../fixtures/es-modules/test-esm-ok.mjs';
assert(ok);