Skip to main content

testing

2022

Porting a Create React App application to Vite Pt. 2: Unit Testing
·2376 words·12 mins
Project Architecture New Tech configuration testing NodeJS
For unit tests we will still be using the excellent Testing Library, but we will swap Vitest in place of Jest. Vitest promises Jest compatibility without having to duplicate a bunch of configuration to get Jest to function correctly with a Vite project.