You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f082d40
Browse filesBrowse the repository at this point in the historyBrowse files
chore: remove proxyquire-bun-shim.cjs and runner flags (#9646)
## Description
Removes bin/proxyquire-bun-shim.cjs and all remaining Mocha and runner
shim configuration.
## Impact
Eliminates the global Bun proxyquire preload shim from the test runner.
## Changes
- **Part 5 of 5 in stacked PR series**: #9642 -> #9643 -> #9644 -> #9645
-> **#9646** (b/570680750).
- Stacked on #9645.
- Delete `bin/proxyquire-bun-shim.cjs`.
- Remove `--proxyquire-shim`, `BUN_ENABLE_PROXYQUIRE_SHIM`, and
`proxyquire-bun-shim.cjs` preloading from `bin/run-test.cjs`.
- Remove `proxyquire-bun-shim.cjs` from `.mocharc.cjs` and all 11
`core/packages/*/.mocharc.js` configuration files.
## Testing
- Verified unit tests across all migrated packages pass under both
Node.js and Bun (`JS_RUNTIME=bun`) without
`bin/proxyquire-bun-shim.cjs`.
- Verified strict lint and type checks pass via `bin/linter.mjs
--strict`.
## Alternatives
- Not merging this pull request was considered, which would leave dead
shim code and unused `--proxyquire-shim` runner flags in the repository.
0 commit comments