diff --git a/examples/with-cypress/cypress/support/component.ts b/examples/with-cypress/cypress/support/component.ts index 9d7b637b976151..86d29cb951ae01 100644 --- a/examples/with-cypress/cypress/support/component.ts +++ b/examples/with-cypress/cypress/support/component.ts @@ -20,7 +20,7 @@ import "./commands"; // Alternatively you can use CommonJS syntax: // require('./commands') -import { mount } from "cypress/react18"; +import { mount } from "cypress/react"; // Augment the Cypress namespace to include type definitions for // your custom command. diff --git a/examples/with-cypress/package.json b/examples/with-cypress/package.json index b7d3a04804812a..ef59138fb15931 100644 --- a/examples/with-cypress/package.json +++ b/examples/with-cypress/package.json @@ -18,7 +18,7 @@ "@types/node": "18.0.6", "@types/react": "18.2.8", "@types/react-dom": "18.0.6", - "cypress": "12.3.0", + "cypress": "15.8.2", "start-server-and-test": "1.15.2", "typescript": "4.7.4" }