cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.08k stars 3.19k forks source link

Component Testing with Angular & Vite #30320

Open leimerp opened 1 month ago

leimerp commented 1 month ago

What would you like?

With the release of Angular 17, Vite has become an officially supported bundler, and many Angular applications are transitioning from Webpack to Vite. To maintain consistency in the development stack, it would be beneficial if Cypress supported Vite for component testing in Angular applications. This would allow developers to use the same bundler for their application, e2e tests, and component tests, streamlining the workflow and improving efficiency.

Why is this needed?

Providing Vite support for component testing in Angular applications would align with the growing adoption of Vite and ensure a unified testing and development experience. It would help developers avoid potential bundling discrepancies and reduce the complexity of managing different bundlers for various testing scenarios.

Other

No response

dowoncha commented 7 hours ago

Hello, are there any plans to update this? Does it require a specific config to be passed?