node/test/es-module
Antoine du HAMEL cc3ca08046
test: clearing require cache crashes esm loader
This test shows the regression introduced in v11.4.0: clearing out the
require.cache crashes node when using the `--experimental-modules` flag.
Refs: https://github.com/nodejs/node/issues/25482

Backport-PR-URL: https://github.com/nodejs/node/pull/27874
PR-URL: https://github.com/nodejs/node/pull/25491
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-06-06 13:59:31 +01:00
..
es-module.status
test-esm-basic-imports.mjs
test-esm-cjs-main.js test: refactor stdio handling in test-esm-cjs-main 2019-05-16 14:56:10 -04:00
test-esm-cyclic-dynamic-import.mjs
test-esm-double-encoding.mjs
test-esm-dynamic-import.js test: run eslint on test file and fix errors 2019-02-28 23:37:44 +11:00
test-esm-encoded-path-native.js
test-esm-encoded-path.mjs
test-esm-error-cache.js test: make crashOnUnhandleRejection opt-out 2018-07-24 20:42:32 +02:00
test-esm-example-loader.js
test-esm-forbidden-globals.mjs
test-esm-import-meta.mjs
test-esm-json.mjs
test-esm-live-binding.mjs
test-esm-loader-cache-clearing.js test: clearing require cache crashes esm loader 2019-06-06 13:59:31 +01:00
test-esm-loader-dependency.mjs
test-esm-loader-invalid-format.mjs test: fix ESM test 2018-06-30 14:24:47 +02:00
test-esm-loader-invalid-url.mjs
test-esm-loader-missing-dynamic-instantiate-hook.mjs test: make crashOnUnhandleRejection opt-out 2018-07-24 20:42:32 +02:00
test-esm-loader-modulemap.js
test-esm-loader-search.js
test-esm-main-lookup.mjs
test-esm-named-exports.mjs
test-esm-namespace.mjs test: refactor test-esm-namespace.mjs 2019-05-16 14:56:08 -04:00
test-esm-preserve-symlinks-main.js
test-esm-preserve-symlinks-not-found-plain.mjs
test-esm-preserve-symlinks-not-found.mjs
test-esm-preserve-symlinks.js
test-esm-require-cache.mjs
test-esm-resolve-hook.mjs
test-esm-shared-loader-dep.mjs
test-esm-shebang.mjs
test-esm-snapshot.mjs
test-esm-symlink-main.js
test-esm-symlink.js
test-esm-throw-undefined.mjs test: make crashOnUnhandleRejection opt-out 2018-07-24 20:42:32 +02:00
testcfg.py test: run ESM tests in parallel 2018-08-04 20:41:46 +02:00