vi.clearAllMocks() clears call history but not mockReturnValue implementations. The Windows pwsh shell tests were polluting subsequent tests that expected the default sh mock. Changed to mockReturnValueOnce so the override is consumed by the single call and subsequent tests get the default sh implementation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||