3 ms·
Evan, thanks for your work on Vite. We adopted Vite early on for a large Vue project. My main concern is the testing story. Any ETA on when we'd see official su
by nogridbag 5y ago
Evan, thanks for your work on Vite. We adopted Vite early on for a large Vue project. My main concern is the testing story. Any ETA on when we'd see official support for something like Jest?
- brailsafe 5y agoDo you mean testing Vite itself or incorporating jest for frontend stuff as a build step?
- EvanYou 5y agoProper Jest integration is blocked by async transformers (https://github.com/facebook/jest/pull/9889 https://github.com/facebook/jest/pull/9889) which should land as part of Jest 27, so we are mostly waiting on that. In the meanwhile, you can also consider: - @web/test-runner (https://modern-web.dev/docs/test-runner/overview/ https://modern-web.dev/docs/test-runner/overview/) - Cypress (both e2e and unit testing via its component test runner https://www.cypress.io/blog/2021/04/06/introducing-the-cypress-component-test-runner/ https://www.cypress.io/blog/2021/04/06/introducing-the-cypre...) - Check out https://github.com/sodatea/vite-test-example https://github.com/sodatea/vite-test-example for an example using the above.