robobun
|
5617b92a5a
|
test: refactor spawnSync to spawn with describe.concurrent (#25849)
## Summary
- Refactor 16 test files to use async `Bun.spawn` instead of
`Bun.spawnSync`
- Wrap tests in `describe.concurrent` blocks for parallel execution
- Use `await using` for automatic resource cleanup
## Performance Improvement
| Test File | Before | After | Improvement |
|-----------|--------|-------|-------------|
| `node-module-module.test.js` (28 tests) | ~325ms | ~185ms | **43%
faster** |
| `non-english-import.test.js` (3 tests) | ~238ms | ~157ms | **34%
faster** |
## Files Changed
- `test/cli/run/commonjs-invalid.test.ts`
- `test/cli/run/commonjs-no-export.test.ts`
- `test/cli/run/empty-file.test.ts`
- `test/cli/run/jsx-symbol-collision.test.ts`
- `test/cli/run/run-cjs.test.ts`
- `test/cli/run/run-extensionless.test.ts`
- `test/cli/run/run-shell.test.ts`
- `test/cli/run/run-unicode.test.ts`
- `test/js/bun/resolve/non-english-import.test.js`
- `test/js/node/module/node-module-module.test.js`
- `test/regression/issue/00631.test.ts`
- `test/regression/issue/03216.test.ts`
- `test/regression/issue/03830.test.ts`
- `test/regression/issue/04011.test.ts`
- `test/regression/issue/04893.test.ts`
- `test/regression/issue/hashbang-still-works.test.ts`
## Test plan
- [x] All refactored tests pass with `USE_SYSTEM_BUN=1 bun test <file>`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
|
2026-01-06 15:37:56 +00:00 |
|
jarred-sumner-bot
|
1cef9399e4
|
fix: CSS parser crashes with calc() NaN values and system colors in color-mix() (#21079)
Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com>
|
2025-07-15 22:02:03 -07:00 |
|
Adam
|
7ba4b1d01e
|
Fix: deprecated goo.gl links in snapshots raised in issue #20086 (#20424)
|
2025-07-05 00:58:42 -07:00 |
|
pfg
|
95fcee8b76
|
Fix expect toMatchSnapshot not working for some strings (#15183)
|
2024-11-21 17:46:45 -08:00 |
|
Jarred Sumner
|
59c5c0fe48
|
Fix memory leak when requiring or importing modules that get GC'd later (#12997)
|
2024-08-01 12:05:37 -07:00 |
|
Ashcon Partovi
|
d105b048b1
|
Use Buildkite for CI (#11477)
|
2024-06-27 14:56:07 -07:00 |
|
Jarred Sumner
|
a9e800ad5f
|
Commit missing snapshot file
|
2024-06-22 15:31:29 -07:00 |
|
forcefieldsovereign
|
191a06207f
|
Fix TS experimental decorator crash (#11902)
|
2024-06-21 21:58:08 -07:00 |
|