Skip to content

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

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

test: fix esm issue in node-spec-runner#50295
jkleinsc merged 1 commit into41-x-yfrom
trop/41-x-y-bp-test-fix-esm-issue-in-node-spec-runner-1773680113852

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 41-x-y backport This is a backport PR semver/none labels Mar 16, 2026
@jkleinsc jkleinsc merged commit 4e9e733 into 41-x-y Mar 16, 2026
115 of 116 checks passed
@jkleinsc jkleinsc deleted the trop/41-x-y-bp-test-fix-esm-issue-in-node-spec-runner-1773680113852 branch March 16, 2026 19:44
@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