ci: isolate mock-heavy tests to prevent cross-file module pollution
formatter.test.ts mocks format-default module, contaminating format-default.test.ts. sync-executor.test.ts mocks session.create, contaminating session-creator.test.ts. Run both in isolated processes.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -52,6 +52,8 @@ jobs:
|
||||
bun test src/hooks/atlas
|
||||
bun test src/hooks/compaction-context-injector
|
||||
bun test src/features/tmux-subagent
|
||||
bun test src/cli/doctor/formatter.test.ts
|
||||
bun test src/tools/call-omo-agent/sync-executor.test.ts
|
||||
|
||||
- name: Run remaining tests
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user