test: missing fixture test-esm-pkg-over-ext.mjs #15280
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I think I figured out the issue causing the test suite to fail (see #15276) with the following error:
=== release test-esm-pkg-over-ext === Path: es-module/test-esm-pkg-over-ext (node:12584) ExperimentalWarning: The ESM module loader is experimental. Error: module ../fixtures/module-pkg-over-ext/inner not found at module.exports (internal/loader/search.js:16:12) at resolveRequestUrl (internal/loader/resolveRequestUrl.js:81:13) at Loader.getModuleJob (internal/loader/Loader.js:50:27) at ModuleWrap.module.link (internal/loader/ModuleJob.js:30:25) at linked (internal/loader/ModuleJob.js:28:21) at <anonymous>fixtures/module-pkg-over-ext/inner/package.json.../fixtures/module-pkg-over-ext/inner/packagevs.../fixtures/module-pkg-over-ext/inner, or at least at this time importing a directory does not seem to default topackage.jsonif noindex.jsis found (is this expected behavior @bmeck?).Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
test,es-module