refactor: run all tests in per-file isolation, drop .isolated.test.ts suffix#55
Conversation
Mochi review reportTry this PRExpand instructionsgh run download -R khromov/mochi 26516134740 -n mochi-framework-pr -D /tmp/mochi-pr && bun i /tmp/mochi-pr/mochi-framework-pr.tgzLines of code (non-blank lines) packages/mochi
Unchanged: packages/docs
Unchanged: packages/site
Unchanged: packages/demos
Unchanged: packages/minimal
Unchanged: packages/cli
Unchanged: |
🤖 I have created a release *beep* *boop* --- <details><summary>mochi-framework: 0.5.0</summary> ## [0.5.0](mochi-framework-v0.4.0...mochi-framework-v0.5.0) (2026-05-28) ### Features * hot-swap route handlers in dev mode ([#41](#41)) ([106a4a2](106a4a2)) * opt-in route warmup to pre-warm static pages at startup ([#64](#64)) ([9f28ede](9f28ede)) * replace highlight.js with Shiki ([#54](#54)) ([3d2dc6a](3d2dc6a)) ### Code Refactoring * replace `cookie` npm package with Bun native cookie APIs ([#60](#60)) ([4e0d953](4e0d953)) * run all tests in per-file isolation, drop .isolated.test.ts suffix ([#55](#55)) ([68cdc06](68cdc06)) * vendor debounce, drop npm dependency ([#63](#63)) ([d465fea](d465fea)) * vendor json-format-highlight, drop npm dependency ([#61](#61)) ([0b88399](0b88399)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Summary
bun testprocess — the.isolated.test.tssuffix and batch-vs-isolated split are no longer needed*.isolated.test.tsfiles to*.test.ts, simplifiedrun-tests.tsto run each file individuallyfilesexclusionTest plan
bun run testpasses with the simplified runner.isolated.test.tsfiles exist