Commit Graph

1 Commits

Author SHA1 Message Date
Christian Byrne
f6a115e182 [feat] Add I/O slot component tests (#5523)
* add i/o slot component component tests

* refactor: use separate mount functions for type safety

Replace generic mount helper with dedicated mountInputSlot and mountOutputSlot functions to avoid type casting and improve type safety per review feedback.

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

Co-Authored-By: Claude <noreply@anthropic.com>

* [auto-fix] Apply ESLint and Prettier fixes

* [refactor] rename test file from .spec.ts to .test.ts - addresses @DrJKL's naming convention feedback

* [refactor] use component prop types instead of custom interface - addresses @DrJKL's type safety feedback

* [refactor] add beforeEach for mock reset - addresses @DrJKL's test cleanup feedback

* [refactor] use standard assertions instead of manual mock call extraction - addresses @DrJKL's assertion feedback

* [auto-fix] Apply ESLint and Prettier fixes

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: GitHub Action <action@github.com>
2025-09-13 22:23:44 -07:00