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-namespace.mjs | |
parent | 9b7a6914a7f0bd754e78b42b48c75851cfd6b3c4 (diff) | |
download | android-node-v8-fddcd6253b237ca68430f44c7614bf52d57c4f97.tar.gz android-node-v8-fddcd6253b237ca68430f44c7614bf52d57c4f97.tar.bz2 android-node-v8-fddcd6253b237ca68430f44c7614bf52d57c4f97.zip |
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-namespace.mjs')
-rw-r--r-- | test/es-module/test-esm-namespace.mjs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/es-module/test-esm-namespace.mjs b/test/es-module/test-esm-namespace.mjs index 6a5ee28a54..04845e2b3e 100644 --- a/test/es-module/test-esm-namespace.mjs +++ b/test/es-module/test-esm-namespace.mjs @@ -1,7 +1,5 @@ // Flags: --experimental-modules -/* eslint-disable node-core/required-modules */ - -import '../common/index'; +import '../common'; import * as fs from 'fs'; import assert from 'assert'; |