Unverified Commit cc3ca080 authored by Antoine du HAMEL's avatar Antoine du HAMEL Committed by Beth Griggs
Browse files

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: default avatarGuy Bedford <guybedford@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 819a647d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment