mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
Suppose that you have this setup for devtools test: ``` // @reactVersion <= 18.1 // @reactVersion >= 17.1 ``` With previous implementation, the accumulated condition will be `"<= 18.1" && ">= 17.1"`, which is just `">= 17.1"`, when evaluated. That's why we executed some tests for old versions of react on main (and failed). With these changes the resulting condition will be `"<= 18.1 >= 17.1"`, not using `&&`, because semver does not support this operator. All currently failing tests will be skipped now as expected. Also increased timeout value for shell server to start |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| getComments.js | ||
| transform-object-assign.js | ||
| transform-prevent-infinite-loops.js | ||
| transform-react-version-pragma.js | ||
| transform-replace-console-calls.js | ||
| transform-test-gate-pragma.js | ||