4c03bb6ed0
In DevTools tests, if the REACT_VERSION specified, we know this is a regression test (testing older React Versions). Because a lot of tests test the DevTools front end and we don't want to run them in the regression test scenario, we decided to only run tests that have the // @reactVersion pragma defined. Because if there are no tests specified, jest will fail, we also opt to use jest.skip to skip all the tests that we don't want to run for a specific React version istead. This PR makes this change. |
||
---|---|---|
.. | ||
__tests__ | ||
transform-object-assign.js | ||
transform-prevent-infinite-loops.js | ||
transform-react-version-pragma.js | ||
transform-replace-console-calls.js | ||
transform-test-gate-pragma.js |