Skip to content

esm: delete preload mock test

Per https://github.com/nodejs/node/pull/44710#issuecomment-1383256189, this PR deletes a test that isn’t compatible with off-thread loaders; but more broadly, I think we’re likely to want to rethink the approach of globalPreload‘s sloppy scripts, rather than build on it. I’m not reverting the full PR that added this test, https://github.com/nodejs/node/pull/39240, because we’re keeping parts of it. The off-thread PR will delete the undocumented setImportMetaCallback that that PR adds. More context: https://github.com/nodejs/loaders/discussions/124

cc @bmeck @nodejs/loaders

Merge request reports

Loading