Skip to content

Commit

Permalink
Import Cypress React 18 properly
Browse files Browse the repository at this point in the history
  • Loading branch information
leSamo committed Aug 14, 2024
1 parent 459b1e0 commit fb158eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/cypress/support/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import '@patternfly/patternfly/patternfly-addons.css';
// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react'
import { mount } from 'cypress/react18'
// const { addMatchImageSnapshotCommand, } = require('@simonsmith/cypress-image-snapshot/command');

// configure the matcher to be less precise to adjust between the headless and normal browser rendering differences
Expand Down

0 comments on commit fb158eb

Please sign in to comment.