-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vite v5 gives CJS deprecation warning with Component testing #29557
Labels
Comments
Related to: #28373 |
|
jennifer-shehane
added
type: error message
CT
Issue related to component testing
labels
May 22, 2024
This was referenced Jun 7, 2024
Steps to reproducegit clone https://github.com/cypress-io/cypress
cd cypress
n auto
npm install yarn@latest -g
yarn
cd npm/vite-dev-server
yarn test Logs
Full Log
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behavior
Cypress Changelog 13.13.0 states "Added support for vite v5 to
@cypress/vite-dev-server
."Running Component Testing with Cypress and vite v5 results in the message:
Desired behavior
Running Component Testing with Cypress and vite v5 should not show any deprecation message related to Vite's Node API.
Test code to reproduce
See https://github.com/cypress-io/github-action/tree/master/examples/component-tests
To run, use the following:
For debug info, repeat with:
See also #29557 (comment) for steps to reproduce without using an additional repository using
npm/vite-dev-server
directly.Cypress Version
First reported on version
13.10.0
Still reproducible on version
13.15.0
Node version
v20.13.1
v20.17.0
Operating System
Ubuntu22.04.4
LTSUbuntu
22.04.5
LTSDebug Logs
Other
Installed npm module versions
The text was updated successfully, but these errors were encountered: