Unverified Commit 8ce6315e authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Anna Henningsen
Browse files

test: use index.js if package.json "main" is empty

Verify that the module loader uses index.js when the "main" property of
package.json is the empty string.

Refs: https://github.com/nodejs/node/issues/32013

PR-URL: https://github.com/nodejs/node/pull/32040


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarDenys Otrishko <shishugi@gmail.com>
Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
parent d5a06e73
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