Add test suite #1

Closed
opened 2026-05-15 05:07:30 +00:00 by Mark · 1 comment
Owner

No tests exist in the project. Add unit tests for:

  • src/lib/db.ts — Dexie CRUD operations
  • src/lib/store.ts — Zustand store actions
  • src/lib/date-utils.ts — date formatting/calculation helpers
  • src/lib/utils.ts — CSV export, search, import utilities

Suggested stack: Vitest + @testing-library/react + jsdom.

Files to create:

  • vitest.config.ts
  • src/lib/__tests__/db.test.ts
  • src/lib/__tests__/store.test.ts
  • src/lib/__tests__/date-utils.test.ts
  • src/lib/__tests__/utils.test.ts
No tests exist in the project. Add unit tests for: - `src/lib/db.ts` — Dexie CRUD operations - `src/lib/store.ts` — Zustand store actions - `src/lib/date-utils.ts` — date formatting/calculation helpers - `src/lib/utils.ts` — CSV export, search, import utilities Suggested stack: Vitest + @testing-library/react + jsdom. Files to create: - `vitest.config.ts` - `src/lib/__tests__/db.test.ts` - `src/lib/__tests__/store.test.ts` - `src/lib/__tests__/date-utils.test.ts` - `src/lib/__tests__/utils.test.ts`
Author
Owner

Fixed in commit. Closing.

Fixed in commit. Closing.
Mark closed this issue 2026-05-16 04:06:12 +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#1
No description provided.