iway1 / react-ts-form

https://react-ts-form.com
MIT License
2.01k stars 33 forks source link

chore: swap jest for vitest #102

Closed KubaJastrz closed 7 months ago

KubaJastrz commented 1 year ago

closes #75

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-ts-form ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 14, 2023 7:54am
iway1 commented 1 year ago

Awesome thank you, will get this merged shortly.

I did not know vitest had a "globals" option, very cool :)

iway1 commented 1 year ago

Do you mind swapping out jest.fn for vi.fn ? Some tests are failing. Otherwise, looks great! tests run sooo much faster.

capaj commented 1 year ago

@iway1 anything still needed to be done here?

iway1 commented 1 year ago

@capaj yeah this broke when running on my local so will want to fix that.. need to add imports for vi