Skip to content

Conversation

leeyi45
Copy link
Contributor

@leeyi45 leeyi45 commented Aug 24, 2025

Migrate to Vitest

Following the modules repo and frontend, this PR migrates the repository to Vitest. I've tried to minimize changes where possible since Vitest was designed as a drop in for Jest, but unlike Jest Vitest requires calls to toMatchInlineSnapshot to be directly from expect.

Relocation of Enums

The Chapter, Variant, ErrorType and ErrorSeverity enums needed to be relocated to other files to allow Vitest to actually work. I suspect it has something to do with the circular imports that aren't just elided during runtime.

I'm not sure if they should be re-exported through the types.ts file though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants