diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-03-17 12:45:22 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-03-21 20:08:30 +0100 |
commit | fddcd6253b237ca68430f44c7614bf52d57c4f97 (patch) | |
tree | 56860db681a37731705126654e0bcd77612ce3bf /test/es-module/test-esm-example-loader.js | |
parent | 9b7a6914a7f0bd754e78b42b48c75851cfd6b3c4 (diff) | |
download | node-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.js | 2 |
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); |