node/test/es-module
Gang Chen c9a4603913
esm: make process.exit() default to exit code 0
Due to a bug in top-level await implementation, it used to default to
exit code 13.

PR-URL: https://github.com/nodejs/node/pull/41388
Fixes: https://github.com/nodejs/node/issues/40808
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
2022-01-14 16:22:50 +01:00
..
es-module.status
test-cjs-esm-warn.js esm: refine ERR_REQUIRE_ESM errors 2021-07-15 08:52:37 -07:00
test-esm-assert-strict.mjs
test-esm-assertionless-json-import.js esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-basic-imports.mjs
test-esm-child-process-fork-main.mjs child_process: queue pending messages 2022-01-14 16:19:43 +01:00
test-esm-cjs-builtins.js
test-esm-cjs-exports.js
test-esm-cjs-load-error-note.mjs
test-esm-cjs-main.js
test-esm-cjs-named-error.mjs
test-esm-custom-exports.mjs cli: add -C alias for --conditions flag 2021-05-25 15:13:36 +02:00
test-esm-cyclic-dynamic-import.mjs
test-esm-data-urls.js esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-default-type.mjs
test-esm-dns-promises.mjs
test-esm-double-encoding.mjs
test-esm-dynamic-import-assertion.js esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-dynamic-import-assertion.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-dynamic-import.js
test-esm-encoded-path-native.js
test-esm-encoded-path.mjs lib: fix regular expression to detect / and \ 2021-10-23 08:37:22 +02:00
test-esm-error-cache.js
test-esm-example-loader.mjs esm: consolidate ESM loader hooks 2021-09-11 18:08:35 -07:00
test-esm-export-not-found.mjs esm: refactor esm tests out of test/message 2022-01-14 16:20:13 +01:00
test-esm-exports-deprecations.mjs module: subpath folder mappings EOL 2021-09-21 23:15:02 -07:00
test-esm-exports.mjs module: resolver & spec hardening /w refactoring 2021-11-06 10:56:44 +01:00
test-esm-forbidden-globals.mjs
test-esm-fs-promises.mjs
test-esm-import-assertion-1.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-import-assertion-2.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-import-assertion-3.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-import-assertion-4.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-import-assertion-errors.js module: import assertions improvements 2021-11-26 15:36:35 +01:00
test-esm-import-assertion-errors.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-import-assertion-validation.js module: import assertions improvements 2021-11-26 15:36:35 +01:00
test-esm-import-json-named-export.mjs esm: refactor esm tests out of test/message 2022-01-14 16:20:13 +01:00
test-esm-import-meta-resolve.mjs module: add support for URL to import.meta.resolve 2021-05-10 15:09:05 -07:00
test-esm-import-meta.mjs
test-esm-imports.mjs lib: fix regular expression to detect / and \ 2021-10-23 08:37:22 +02:00
test-esm-invalid-data-urls.js module: improve error message for invalid data URL 2021-04-03 20:06:05 +02:00
test-esm-invalid-extension.js
test-esm-invalid-pjson.js test: make tests pass on Windows with Unix EOL 2021-09-07 13:41:55 +02:00
test-esm-json-cache.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-json.mjs esm: add support for JSON import assertion 2021-11-06 11:00:01 +01:00
test-esm-live-binding.mjs
test-esm-loader-cache-clearing.js
test-esm-loader-custom-condition.mjs
test-esm-loader-dependency.mjs
test-esm-loader-invalid-format.mjs
test-esm-loader-invalid-url.mjs errors: remove input from ERR_INVALID_URL message 2021-05-17 12:17:24 -07:00
test-esm-loader-mock.mjs esm: working mock test 2021-12-13 17:14:03 -05:00
test-esm-loader-modulemap.js module: import assertions improvements 2021-11-26 15:36:35 +01:00
test-esm-loader-not-found.mjs esm: refactor esm tests out of test/message 2022-01-14 16:20:13 +01:00
test-esm-loader-obsolete-hooks.mjs esm: refactor esm tests out of test/message 2022-01-14 16:20:13 +01:00
test-esm-loader-resolve-type.mjs loader: return package format from defaultResolve if known 2022-01-14 16:18:33 +01:00
test-esm-loader-search.js
test-esm-loader-side-effect.mjs
test-esm-loader-stringify-text.mjs esm: consolidate ESM loader hooks 2021-09-11 18:08:35 -07:00
test-esm-loader-with-syntax-error.mjs esm: refactor esm tests out of test/message 2022-01-14 16:20:13 +01:00
test-esm-loader.mjs esm: consolidate ESM loader hooks 2021-09-11 18:08:35 -07:00
test-esm-main-lookup.mjs
test-esm-module-not-found-commonjs-hint.mjs esm: refactor esm tests out of test/message 2022-01-14 16:20:13 +01:00
test-esm-named-exports.mjs
test-esm-namespace.mjs
test-esm-no-addons.mjs src: add option to disable loading native addons 2021-09-10 10:54:39 -05:00
test-esm-non-js.js
test-esm-nowarn-exports.mjs test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-path-posix.mjs
test-esm-path-win32.mjs
test-esm-pkgname.mjs lib: fix regular expression to detect / and \ 2021-10-23 08:37:22 +02:00
test-esm-preserve-symlinks-main.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07: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-repl.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-require-cache.mjs
test-esm-resolve-type.js loader: fix package resolution for edge case 2022-01-14 16:19:35 +01:00
test-esm-scope-node-modules.mjs
test-esm-shared-loader-dep.mjs
test-esm-shebang.mjs
test-esm-snapshot.mjs
test-esm-specifiers-legacy-flag.mjs module: fix legacy node specifier resolution to resolve "main" field 2021-06-13 16:22:34 +02:00
test-esm-specifiers.mjs test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-symlink-main.js
test-esm-symlink-type.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-symlink.js
test-esm-syntax-error.mjs esm: refactor esm tests out of test/message 2022-01-14 16:20:13 +01:00
test-esm-throw-undefined.mjs
test-esm-tla-unfinished.mjs esm: make process.exit() default to exit code 0 2022-01-14 16:22:50 +01:00
test-esm-tla.mjs
test-esm-type-flag-errors.js esm: refine ERR_REQUIRE_ESM errors 2021-07-15 08:52:37 -07:00
test-esm-type-flag.mjs
test-esm-type-main.mjs
test-esm-undefined-cjs-global-like-variables.js module: clarify CJS global-like variables not defined error message 2021-04-13 19:06:48 +02:00
test-esm-unknown-or-no-extension.js
test-esm-util-types.mjs
test-esm-wasm.mjs doc: fix spelling of 'WebAssembly' 2021-11-26 15:36:35 +01:00
test-esm-windows.js
testcfg.py