Skip to content

Commit

Permalink
fix react17 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed May 11, 2022
1 parent 0410a05 commit b057240
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/react/_env/setup-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if (global.REACT_VERSION) {
jest.mock('react-dom', () =>
jest.requireActual(`reactDom${global.REACT_VERSION}`),
)
jest.mock('react-dom/test-utils', () =>
jest.requireActual(`reactDom${global.REACT_VERSION}/test-utils`),
)
jest.mock('react-is', () =>
jest.requireActual(`reactIs${global.REACT_VERSION}`),
)
Expand Down

0 comments on commit b057240

Please sign in to comment.