Skip to content

Commit

Permalink
Simplify semver matcher for create-react-class
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Aug 9, 2022
1 parent 5418b9d commit 8649c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/enzyme-test-suite/test/_helpers/react-compat.js
Expand Up @@ -36,7 +36,7 @@ let useRef;
let useState;
let act;

if (is('>=15.5 || ^16.0.0-alpha || ^16.3.0-alpha || ^17.0.0')) {
if (is('>=15.5 || ^16.0.0-alpha || ^16.3.0-alpha')) {
// eslint-disable-next-line import/no-extraneous-dependencies
createClass = require('create-react-class');
} else {
Expand Down

0 comments on commit 8649c0c

Please sign in to comment.