0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/es-module
Antoine du HAMEL ac3b98cd26 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

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-05-14 16:17:34 +08:00
..
es-module.status
test-esm-basic-imports.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-cjs-main.js test: refactor stdio handling in test-esm-cjs-main 2018-12-27 08:32:15 +01:00
test-esm-cyclic-dynamic-import.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-double-encoding.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-dynamic-import.js esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
test-esm-encoded-path-native.js
test-esm-encoded-path.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-error-cache.js test: fix ineffective error tests 2019-04-24 10:07:09 +02:00
test-esm-example-loader.js tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
test-esm-forbidden-globals.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-import-meta.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-json-cache.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-json.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-live-binding.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-loader-cache-clearing.js test: clearing require cache crashes esm loader 2019-05-14 16:17:34 +08:00
test-esm-loader-dependency.mjs tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
test-esm-loader-invalid-format.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-loader-invalid-url.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-loader-missing-dynamic-instantiate-hook.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-loader-modulemap.js esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
test-esm-loader-search.js esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
test-esm-main-lookup.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-named-exports.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-namespace.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-no-extension.js esm: replace --entry-type with --input-type 2019-04-16 12:41:59 -04:00
test-esm-preserve-symlinks-main.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-esm-preserve-symlinks-not-found-plain.mjs tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
test-esm-preserve-symlinks-not-found.mjs tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
test-esm-preserve-symlinks.js
test-esm-process.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-require-cache.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-resolve-hook.mjs tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
test-esm-shared-loader-dep.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-shebang.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-snapshot.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-specifiers.mjs esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
test-esm-symlink-main.js esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
test-esm-symlink-type.js esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
test-esm-symlink.js esm: phase two of new esm implementation 2019-03-27 15:52:11 -04:00
test-esm-throw-undefined.mjs tools: fix node-core/required-modules eslint rule 2019-05-06 04:57:49 +02:00
test-esm-type-flag-errors.js esm: replace --entry-type with --input-type 2019-04-16 12:41:59 -04:00
test-esm-type-flag.mjs tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
testcfg.py