Skip to content

test: fix esm issue in node-spec-runner#50296

Merged
jkleinsc merged 1 commit into42-x-yfrom
trop/42-x-y-bp-test-fix-esm-issue-in-node-spec-runner-1773680114899
Mar 16, 2026
Merged

test: fix esm issue in node-spec-runner#50296
jkleinsc merged 1 commit into42-x-yfrom
trop/42-x-y-bp-test-fix-esm-issue-in-node-spec-runner-1773680114899

Conversation

@trop
Copy link
Copy Markdown
Contributor

@trop trop Bot commented Mar 16, 2026

Backport of #50289

See that PR for details.

Notes: none

Chromium added a top-level package.json in CL:7485999 that sets
the type to module and breaks commonjs tests run via
node-spec-runner.js. This commit temporarily changes the type to
commonjs while running the tests, then changes it back to module when done.

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@trop trop Bot requested review from a team and codebytere March 16, 2026 16:55
@trop trop Bot mentioned this pull request Mar 16, 2026
3 tasks
@trop trop Bot added 42-x-y backport This is a backport PR semver/none labels Mar 16, 2026
@jkleinsc jkleinsc merged commit 88e666f into 42-x-y Mar 16, 2026
71 checks passed
@jkleinsc jkleinsc deleted the trop/42-x-y-bp-test-fix-esm-issue-in-node-spec-runner-1773680114899 branch March 16, 2026 18:51
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Mar 16, 2026

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants