node/test/es-module
Antoine du Hamel 9d4d916fe8
esm: fix import assertion warning
Refs: https://github.com/nodejs/node/pull/46901#discussion_r1122242913
PR-URL: https://github.com/nodejs/node/pull/46971
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-03-14 07:54:08 +01:00
..
es-module.status
test-cjs-esm-warn.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-cjs-prototype-pollution.js esm: protect ESM loader from prototype pollution 2022-11-10 09:42:59 -03:00
test-esm-assert-strict.mjs
test-esm-assertionless-json-import.js
test-esm-basic-imports.mjs
test-esm-child-process-fork-main.mjs
test-esm-cjs-builtins.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-cjs-exports.js src,test: fix typos 2022-08-03 23:48:09 +02:00
test-esm-cjs-load-error-note.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-cjs-main.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-cjs-named-error.mjs
test-esm-custom-exports.mjs
test-esm-cyclic-dynamic-import.mjs
test-esm-data-urls.js test: adapt to new JSON SyntaxError messages 2022-10-11 07:27:56 +02:00
test-esm-default-type.mjs
test-esm-dns-promises.mjs
test-esm-double-encoding.mjs
test-esm-dynamic-import-assertion.js
test-esm-dynamic-import-assertion.mjs
test-esm-dynamic-import.js errors: refactor to use a method that formats a list string 2023-01-05 13:11:36 -03:00
test-esm-encoded-path-native.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-encoded-path.mjs
test-esm-error-cache.js
test-esm-example-loader.mjs
test-esm-experimental-warnings.mjs esm: remove specifier resolution flag 2022-10-04 09:44:08 +00:00
test-esm-export-not-found.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-exports-deprecations.mjs module: exports & imports map invalid slash deprecation 2022-09-11 12:01:37 +02:00
test-esm-exports.mjs module: exports & imports map invalid slash deprecation 2022-09-11 12:01:37 +02:00
test-esm-forbidden-globals.mjs
test-esm-fs-promises.mjs
test-esm-import-assertion-1.mjs
test-esm-import-assertion-2.mjs
test-esm-import-assertion-3.mjs
test-esm-import-assertion-4.mjs
test-esm-import-assertion-errors.js esm: fix import assertion warning 2023-03-14 07:54:08 +01:00
test-esm-import-assertion-errors.mjs esm: fix import assertion warning 2023-03-14 07:54:08 +01:00
test-esm-import-assertion-validation.js esm: fix import assertion warning 2023-03-14 07:54:08 +01:00
test-esm-import-assertion-warning.mjs esm: fix import assertion warning 2023-03-14 07:54:08 +01:00
test-esm-import-flag.mjs esm: add --import flag 2022-07-31 04:08:02 +01:00
test-esm-import-json-named-export.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-import-meta-resolve.mjs esm: misc test refactors 2023-02-20 14:16:32 -05:00
test-esm-import-meta.mjs
test-esm-imports-deprecations.mjs module: fix segment deprecation for imports field 2022-10-13 07:31:31 -07:00
test-esm-imports.mjs module: fix segment deprecation for imports field 2022-10-13 07:31:31 -07:00
test-esm-initialization.mjs esm: misc test refactors 2023-02-20 14:16:32 -05:00
test-esm-invalid-data-urls.js
test-esm-invalid-pjson.js test: adapt to new JSON SyntaxError messages 2022-10-11 07:27:56 +02:00
test-esm-json-cache.mjs
test-esm-json.mjs esm: add a runtime warning when using import assertions 2023-03-14 07:54:05 +01:00
test-esm-live-binding.mjs
test-esm-loader-cache-clearing.js
test-esm-loader-chaining.mjs esm: misc test refactors 2023-02-20 14:16:32 -05:00
test-esm-loader-custom-condition.mjs
test-esm-loader-dependency.mjs
test-esm-loader-event-loop.mjs esm: misc test refactors 2023-02-20 14:16:32 -05:00
test-esm-loader-hooks.mjs test,esm: validate more edge cases for dynamic imports 2023-01-19 22:13:10 -03:00
test-esm-loader-http-imports.mjs esm: add --import flag 2022-07-31 04:08:02 +01:00
test-esm-loader-invalid-format.mjs
test-esm-loader-invalid-url.mjs
test-esm-loader-modulemap.js
test-esm-loader-not-found.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-loader-obsolete-hooks.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-loader-resolve-type.mjs test: refactor to avoid mutation of global by a loader 2023-01-19 22:58:19 -03:00
test-esm-loader-search.js Revert "esm: convert resolve hook to synchronous" 2022-06-22 08:13:36 +01:00
test-esm-loader-side-effect.mjs
test-esm-loader-spawn-promisified.mjs esm: misc test refactors 2023-02-20 14:16:32 -05:00
test-esm-loader-stringify-text.mjs
test-esm-loader-thenable.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-loader-with-syntax-error.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-loader.mjs
test-esm-main-lookup.mjs
test-esm-module-not-found-commonjs-hint.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-named-exports.mjs
test-esm-namespace.mjs
test-esm-no-addons.mjs
test-esm-non-js.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-nowarn-exports.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-path-posix.mjs
test-esm-path-win32.mjs
test-esm-pkgname.mjs
test-esm-preserve-symlinks-main.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-preserve-symlinks-not-found-plain.mjs
test-esm-preserve-symlinks-not-found.mjs
test-esm-preserve-symlinks.js
test-esm-process.mjs
test-esm-prototype-pollution.mjs esm: protect ESM loader from prototype pollution 2022-11-10 09:42:59 -03:00
test-esm-repl-imports.js test_runner: align behavior of it and test 2023-03-14 07:54:05 +01:00
test-esm-repl.js
test-esm-require-cache.mjs
test-esm-resolve-type.mjs test: refactor test/es-module/test-esm-resolve-type 2022-07-20 23:40:04 +02:00
test-esm-scope-node-modules.mjs
test-esm-shared-loader-dep.mjs
test-esm-shebang.mjs
test-esm-snapshot.mjs
test-esm-symlink-main.js
test-esm-symlink-type.js
test-esm-symlink.js
test-esm-syntax-error.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-throw-undefined.mjs
test-esm-tla-unfinished.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-tla.mjs
test-esm-type-flag-errors.js
test-esm-type-flag.mjs
test-esm-type-main.mjs
test-esm-undefined-cjs-global-like-variables.js
test-esm-unknown-or-no-extension.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-util-types.mjs
test-esm-wasm.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-windows.js
test-http-imports-cli.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-http-imports.mjs
test-loaders-hidden-from-users.js esm: misc test refactors 2023-02-20 14:16:32 -05:00
test-loaders-unknown-builtin-module.mjs esm: misc test refactors 2023-02-20 14:16:32 -05:00
testcfg.py