Add mockClear() before mockReturnThis() in spawn test beforeEach to prevent call history accumulating across tests. Fixes Bugbot review feedback about stale mock.calls. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| commands | ||
| lib | ||
| options | ||
| scripts | ||
| index.test.ts | ||
| program.test.ts | ||