reduxjs / react-redux

Official React bindings for Redux
https://react-redux.js.org
MIT License
23.27k stars 3.36k forks source link

Migrate from Jest to Vitest #2124

Closed aryaemami59 closed 4 months ago

aryaemami59 commented 4 months ago

This PR:

codesandbox-ci[bot] commented 4 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c29ce2f09ceb94de67ae5d183ec6e885684dfaf2:

Sandbox Source
Vanilla Typescript Configuration
markerikson commented 4 months ago

FYI, I ran into issues here with the RN test when I was trying to update last year, which is why I stayed on Jest at that point. (At least now with v9 we've dropped the multiple aliased tests for React 17 and such that we had with v8.)

timdorr commented 4 months ago

Since we're no longer testing RN, this makes a lot of sense. Plus, removing a net 3,315 lines (about 25%!) from the yarn.lock file is great!

I'll let @markerikson merge, since he's closer to this stuff than me. But LGTM!