Break down #10 into implementable work units — Phase 1: Test infrastructure setup — install vitest, React Testing Library, jsdom, msw, and mock factories for Dexie/IndexedDB and Capacitor plugins. Creates vitest.config.ts, setupTests.ts with jest-d… #16

Closed
opened 2026-05-20 20:04:45 +00:00 by Mark · 1 comment
Owner

Phase 1: Test infrastructure setup — install vitest, React Testing Library, jsdom, msw, and mock factories for Dexie/IndexedDB and Capacitor plugins. Creates vitest.config.ts, setupTests.ts with jest-dom matchers, and shared mock factories. Without this, no tests can run.

Files: package.json, vitest.config.ts, src/setupTests.ts, src/lib/mocks/db.ts, src/lib/mocks/capacitor.ts


Decomposed from kimi_agent_kin_app_sync#11

## Phase 1: Test infrastructure setup — install vitest, React Testing Library, jsdom, msw, and mock factories for Dexie/IndexedDB and Capacitor plugins. Creates vitest.config.ts, setupTests.ts with jest-dom matchers, and shared mock factories. Without this, no tests can run. **Files:** package.json, vitest.config.ts, src/setupTests.ts, src/lib/__mocks__/db.ts, src/lib/__mocks__/capacitor.ts --- _Decomposed from [kimi_agent_kin_app_sync#11](https://forgejo.tail018ac4.ts.net/Mark/kimi_agent_kin_app_sync/issues/11)_
Author
Owner

Fixed in commit. Closing.

Fixed in commit. Closing.
Mark closed this issue 2026-05-20 22:24:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/kimi_agent_kin_app_sync#16
No description provided.