Skip to content

Replace jest with vitest#49

Open
Pearce-Ropion wants to merge 1 commit intopearce/ts-build-systemfrom
pearce/ts-vitest
Open

Replace jest with vitest#49
Pearce-Ropion wants to merge 1 commit intopearce/ts-build-systemfrom
pearce/ts-vitest

Conversation

@Pearce-Ropion
Copy link
Copy Markdown
Collaborator

@Pearce-Ropion Pearce-Ropion commented May 8, 2026

Depends on #48

Migrate from jest to vitest

  • vitest runs in browser mode with playwright
    • vitest injects url params which breaks the initializer
    • use __VITEST_BROWSER__ global to skip around these
    • __VITEST_BROWSER__ is automatically removed from the built bundle

Update lint rule to handle unused catch variables

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