Added vitest for frontend unit tests#387
Conversation
Code ReviewOverviewIntroduces Vitest for fast JS unit testing alongside the existing Playwright suite. Renames 5 existing pure-function tests from What's good
Issues & suggestions1. Unused dependency: 2. 3. Inconsistent test API style 4. Timing-based flakiness in promise chain tests ( 5. README guidance on when to use Vitest vs Playwright ( Risks
VerdictSolid foundation, ready to merge after (optionally) trimming the unused |
turegjorup
left a comment
There was a problem hiding this comment.
Claude Code flagged a few things, but no blockers.
Link to issue
#380
Link to ticket
https://leantime.itkdev.dk/#/tickets/showTicket/7203
Description
Added vitest for frontend unit tests.
Rewrite playwright unit tests as vitest unit tests.
Checklist