oso icon indicating copy to clipboard operation
oso copied to clipboard

Transition frontend testing to Vitest

Open ryscheng opened this issue 3 months ago • 4 comments

ryscheng avatar Sep 23 '25 08:09 ryscheng

@IcaroG @Jabolol did we get Jest to work how we want? If so I'll de-prioritize this

ryscheng avatar Oct 01 '25 15:10 ryscheng

Not yet, we didn't get the test suite to work successfully with ES modules + nextjs auto-setup. Tests on prod have the problematic tests commented out.

Jabolol avatar Oct 03 '25 20:10 Jabolol

Any tests that include oso utils package won't work right now. Unclear if vitest will fix this.

We also use vitest already for storybook tests, so maybe it makes sense to reconcile all this.

ryscheng avatar Oct 22 '25 19:10 ryscheng