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-forbidden-globals.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-forbidden-globals.mjs')
-rw-r--r-- | test/es-module/test-esm-forbidden-globals.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/es-module/test-esm-forbidden-globals.mjs b/test/es-module/test-esm-forbidden-globals.mjs index d92df1611f..840a7ea541 100644 --- a/test/es-module/test-esm-forbidden-globals.mjs +++ b/test/es-module/test-esm-forbidden-globals.mjs @@ -1,5 +1,5 @@ // Flags: --experimental-modules -/* eslint-disable node-core/required-modules */ +import '../common'; if (typeof arguments !== 'undefined') { throw new Error('not an ESM'); |