Peekaboo/tests/unit/tools
Peter Steinberger b10253ea2e Fix tests to match new executeSwiftCli signature with timeout parameter
- Update all test assertions to expect the new three-parameter signature
- Add expect.objectContaining({ timeout: expect.any(Number) }) to all executeSwiftCli assertions
- Fixed 37 test assertions across image.test.ts, image-edge-cases.test.ts, and image-tool.test.ts
- All tests now pass (297 tests passed, 17 skipped)

This completes the integration of PR #2's timeout functionality by ensuring all tests match the new function signature.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 07:24:02 +01:00
..
analyze-edge-cases.test.ts test: Add comprehensive edge case tests for image and analyze tools 2025-06-08 06:50:10 +01:00
analyze.test.ts accept path as silent fallback parameter 2025-06-08 04:05:13 +01:00
image-edge-cases.test.ts Fix tests to match new executeSwiftCli signature with timeout parameter 2025-06-08 07:24:02 +01:00
image.test.ts Fix tests to match new executeSwiftCli signature with timeout parameter 2025-06-08 07:24:02 +01:00
list.test.ts Fix unit tests to match current implementation 2025-06-08 06:04:05 +00:00