Thanks to visit codestin.com
Credit goes to github.com

Skip to content

andriyor/jest2vitest

Repository files navigation

jest2vitest

Usage

npx @andriyorehov/jest2vitest@latest --path='**/src/**/*.test.{tsx,jsx,ts,js}'
npx @andriyorehov/jest2vitest@latest --path='**/test/**/*.{tsx,jsx,ts,js}'

Migrate jest tests to vitest

TODO:

  • mock-default-arrow-fn.ts
  • mock-default-fn-expr.ts
  • setMock-default.ts
  • setMock-named.ts
  • error tests
  • snap test

all tests comes from this project

renamer --path-element ext --find js --replace ts test/__fixtures__/**/*

About

Migrate jest tests to vitest

Resources

Stars

Watchers

Forks