Add test suite #4
Labels
No labels
bug
documentation
enhancement
in-progress
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_home_assistant#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: The project has no tests. There are no unit tests for the floorplan state logic (
useFloorplan) or component tests for the canvas and panels.Files to add/modify:
src/hooks/useFloorplan.test.tscovering add/move/resize/delete/duplicate/export.src/components/editor/RoomList.tsxorToolbar.tsx..forgejo/workflows/ci.ymlto runnpm test.Acceptance criteria:
npm testruns and passes.Test suite landed on
mainin commit0ea4983("Apply changes from kilo-gsd.py run for Mark/kimi_agent_home_assistant#4").Key commits on this fix:
fdf1333—test: add RoomList component test (#4)0ea4983—Apply changes from kilo-gsd.py run for Mark/kimi_agent_home_assistant#4(adds Vitest + RTL + jsdom tooling,src/hooks/useFloorplan.test.tscovering add/move/resize/delete/duplicate/export, and thenpm teststep in.forgejo/workflows/ci.yml)Verify gate was green:
npm test×2,tsc,lint, andvitestall passed locally. Remoteorigin/mainis at0ea4983(pushed successfully after the prior Tailscale outage cleared). Closing.Fixed in commit. Closing.