Skip to content

Commit

Permalink
test: migrate ct react18 to react
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 committed Jan 17, 2025
1 parent 0bf00cf commit ec42d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/component-tests/cypress/support/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react18'
import { mount } from 'cypress/react'

Cypress.Commands.add('mount', mount)

// Example use:
// cy.mount(<MyComponent />)
// cy.mount(<MyComponent />)

0 comments on commit ec42d18

Please sign in to comment.