3 ms·
Proper Jest integration is blocked by async transformers (https://github.com/facebook/jest/pull/9889 https://github.com/facebook/jest/pull/9889) which should la
by EvanYou 5y ago
Proper 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.