News for hackers. Stuff that matters.
Re:Meta Is Transferring Jest to the OpenJS Foundation by throwanem on Wednesday May 11, 2022 @01:57PM (#31343533)
Can you use Vitest without Vite? It looks cool, I'd love to know more.
Re:Meta Is Transferring Jest to the OpenJS Foundation by chain-- on Wednesday May 11, 2022 @08:57PM (#31347946)
Yup I've used Vitest without Vite for a personal project. I replaced Jest as I was having a lot of trouble with ESM modules (it might be better now)
Re:Meta Is Transferring Jest to the OpenJS Foundation by throwanem on Wednesday May 11, 2022 @09:34PM (#31348162)
Thanks! I'll definitely take a closer look - "better than Jest" is a great place to start, but not if it means boiling an ocean first.
Re:Meta Is Transferring Jest to the OpenJS Foundation by kasbah on Wednesday May 11, 2022 @04:00PM (#31344987)
I'm pretty sure you can. Though I haven't tried it myself I did a search if we could integrate it into our Next.js app (Next uses Webpack internally) and found this: https://github.com/elpnt/nextjs-vitest-example