Content-Length: 350003 | pFad | https://github.com/typescript-eslint/typescript-eslint/issues/7112

9D Repo: Move from Jest to Vitest · Issue #7112 · typescript-eslint/typescript-eslint · GitHub
Skip to content

Repo: Move from Jest to Vitest #7112

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

Right now, we use Jest in this repository for unit tests. It works well. But, I've noticed unit tests starting to take quite a while. It'd be nice if we could reduce that speed.

Vitest purports to be much faster than Jest (and in my personal experience, is). If someone could send a draft PR with our repo migrated over to Vitest and all tests passing, it'd be nice to see:

  • What would the actual code changes look like?
  • How much faster would Vitest be?

Bonus points if someone can find or write codemods to do the migration automatically...!


Edit (April 2025): The initial normalization PRs are done and we're now merging the conversions for individual packages. This is roughly the order we're planning on as suggested by @aryaemami59 & @43081j:

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docstestsanything to do with testing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/typescript-eslint/typescript-eslint/issues/7112

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy