Commit bdc12d6
StackMemory Bot (CLI)
fix(tests): mock child_process.spawn in claude-code test suite
Add spawn mocks to subagent-client and agent-bridge tests to prevent
real claude CLI invocation during test runs. Fixes timeout failures
in multiProvider routing and swarm launch tests.1 parent 974f87f commit bdc12d6
File tree
2 files changed
+44
-2
lines changed- src/integrations/claude-code/__tests__
2 files changed
+44
-2
lines changedLines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
8 | 24 | | |
9 | 25 | | |
10 | 26 | | |
| |||
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
9 | 33 | | |
10 | 34 | | |
11 | 35 | | |
| |||
324 | 348 | | |
325 | 349 | | |
326 | 350 | | |
| 351 | + | |
327 | 352 | | |
328 | 353 | | |
329 | | - | |
| 354 | + | |
330 | 355 | | |
331 | 356 | | |
332 | 357 | | |
| |||
372 | 397 | | |
373 | 398 | | |
374 | 399 | | |
| 400 | + | |
375 | 401 | | |
376 | 402 | | |
377 | | - | |
| 403 | + | |
378 | 404 | | |
379 | 405 | | |
380 | 406 | | |
| |||
0 commit comments