From 8649c0cc0d26c930cfe1e54d14a8f41e91721de4 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 9 Aug 2022 17:34:33 +0200 Subject: [PATCH] Simplify semver matcher for create-react-class --- packages/enzyme-test-suite/test/_helpers/react-compat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/enzyme-test-suite/test/_helpers/react-compat.js b/packages/enzyme-test-suite/test/_helpers/react-compat.js index 08d9fc42c..d3788ce7d 100644 --- a/packages/enzyme-test-suite/test/_helpers/react-compat.js +++ b/packages/enzyme-test-suite/test/_helpers/react-compat.js @@ -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 {