node/test/es-module
Ruben Bridgewater f78da00ab7 util: fix module prefixes during inspection
Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>

Fixes: https://github.com/nodejs/node/issues/36151

PR-URL: https://github.com/nodejs/node/pull/36178
Fixes: https://github.com/nodejs/node/issues/35730
Refs: https://github.com/nodejs/node/pull/35754
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-12-12 20:58:01 +00:00
..
es-module.status test: update es-module.status prefix 2017-10-01 16:10:17 -07:00
test-cjs-esm-warn.js module: fixup lint and test regressions 2019-12-05 02:49:17 -05:00
test-esm-assert-strict.mjs assert: add `assert/strict` alias module 2020-06-25 08:37:48 -07:00
test-esm-basic-imports.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-cjs-builtins.js module: fix builtin reexport tracing 2020-10-04 10:30:13 -07:00
test-esm-cjs-exports.js module: refine module type mismatch error cases 2020-09-30 20:46:01 -07:00
test-esm-cjs-load-error-note.mjs module: only try to enrich CJS syntax errors 2020-10-19 18:41:10 +00:00
test-esm-cjs-main.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-cjs-named-error.mjs module: named exports for CJS via static analysis 2020-09-28 18:27:25 -07:00
test-esm-custom-exports.mjs module: drop `-u` alias for `--conditions` 2020-08-26 12:48:06 -04:00
test-esm-cyclic-dynamic-import.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-data-urls.js module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-default-type.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-dns-promises.mjs lib: remove ERR_INVALID_OPT_VALUE and ERR_INVALID_OPT_VALUE_ENCODING 2020-09-11 17:54:42 +03:00
test-esm-double-encoding.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-dynamic-import.js esm: use "node:" namespace for builtins 2020-09-29 18:20:28 -07:00
test-esm-encoded-path-native.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-encoded-path.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-error-cache.js test: use `.then(common.mustCall())` for all async IIFEs 2020-07-20 18:13:28 +02:00
test-esm-example-loader.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-exports-pending-deprecations.mjs module: runtime deprecate subpath folder mappings 2020-10-30 12:12:56 -04:00
test-esm-exports.mjs module: exports pattern support 2020-09-17 18:56:17 -07:00
test-esm-forbidden-globals.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-fs-promises.mjs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
test-esm-get-source-loader.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-import-meta-resolve.mjs test: use `.then(common.mustCall())` for all async IIFEs 2020-07-20 18:13:28 +02:00
test-esm-import-meta.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-imports.mjs module: package "imports" field 2020-07-09 19:19:35 -07:00
test-esm-invalid-extension.js module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-invalid-pjson.js esm: better package.json parser errors 2020-09-11 05:09:44 -07:00
test-esm-json-cache.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-json.mjs module: add warnings for experimental flags 2019-12-04 22:36:37 -05:00
test-esm-live-binding.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-loader-cache-clearing.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-loader-custom-condition.mjs util: fix module prefixes during inspection 2020-12-12 20:58:01 +00:00
test-esm-loader-dependency.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-loader-get-format.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-invalid-format.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-invalid-url.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-modulemap.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-esm-loader-search.js module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-side-effect.mjs module: add hook for global preload code 2020-03-23 08:39:37 -05:00
test-esm-loader-stringify-text.mjs esm: doc & validate source values for formats 2020-05-21 12:59:50 +08:00
test-esm-local-deprecations.mjs module: runtime deprecate subpath folder mappings 2020-10-30 12:12:56 -04:00
test-esm-main-lookup.mjs module: add specific error for dir import 2020-05-15 19:08:39 -07:00
test-esm-named-exports.mjs module: remove dynamicInstantiate loader hook 2020-05-27 16:38:38 -07:00
test-esm-namespace.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-non-js.js esm: disable non-js exts outside package scopes 2019-11-16 23:26:49 -08:00
test-esm-nowarn-exports.mjs module: remove experimental modules warning 2020-04-17 12:26:12 -04:00
test-esm-path-posix.mjs path: add `path/posix` and `path/win32` alias modules 2020-10-20 14:27:31 +00:00
test-esm-path-win32.mjs path: add `path/posix` and `path/win32` alias modules 2020-10-20 14:27:31 +00:00
test-esm-pkgname.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-preserve-symlinks-main.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-preserve-symlinks-not-found-plain.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-preserve-symlinks-not-found.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-preserve-symlinks.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-process.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-repl.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-require-cache.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-resolve-hook.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-scope-node-modules.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-shared-loader-dep.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-shebang.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-snapshot.mjs Revert "module: disable cjs snapshotting into esm loader" 2020-07-30 14:55:45 -05:00
test-esm-specifiers-legacy-flag.mjs esm: make specifier flag clearly experimental 2019-12-04 13:21:41 -08:00
test-esm-specifiers.mjs module: fix specifier resolution option value 2020-09-10 07:58:08 -07:00
test-esm-symlink-main.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-symlink-type.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-symlink.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-throw-undefined.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-tla-unfinished.mjs module: handle Top-Level Await non-fulfills better 2020-08-08 20:33:46 +02:00
test-esm-tla.mjs module: unflag Top-Level Await 2020-08-03 14:27:28 -04:00
test-esm-transform-source-loader.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-type-flag-errors.js lib,test: improves ERR_REQUIRE_ESM message 2019-12-04 23:25:10 -05:00
test-esm-type-flag.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-type-main.mjs module: no type module resolver side effects 2020-04-29 22:10:35 -07:00
test-esm-unknown-or-no-extension.js module: drop support for extensionless main entry points in esm 2020-01-22 23:21:11 -08:00
test-esm-util-types.mjs util: add `util/types` alias module 2020-10-21 01:26:34 +02:00
test-esm-wasm.mjs module: add warnings for experimental flags 2019-12-04 22:36:37 -05:00
test-esm-windows.js test: use tmpdir.refresh() in test-esm-windows.js 2019-12-18 09:23:49 -05:00
testcfg.py test: run ESM tests in parallel 2018-08-04 18:14:13 +02:00