Closed mammadataei closed 1 year ago
I am not very sure if I understand the context here. How does it help with the current tests? I consider Cypress to be testing the app via browser without the need to know how the app is hosted.
@antfu What's wrong with compiling and running e2e tests using Vite instead of Webpack, in a project that is based on VIte?
It means less setup and configuration, and you can also use Vite features (e.g. .env
variables, import.meta
, etc.) and plugins in your tests.
This is cool. Nice to see 😄
Description
This PR installs cypress-vite for running end-to-end test. I think since the whole development environment is based on Vite; it also makes sense to use a Vite preprocessor for running Cypress end-to-end tests.