Files
callstack__react-native-tes…/scripts/test_react_17
T
Augustin Le Fèvre 10e69c5f67 Add support for testing with react@17 (#1115)
* Add support for testing with react@17

* Test with react@17 through a script updating dependencies

* Use test:ci command also for react@17

* Minor adjustements to script

* Update scripts/test_react_17

Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-09-16 23:27:27 +02:00

13 lines
280 B
Bash
Executable File

#!/usr/bin/env bash
cp yarn.lock yarn.lock.backup
cp package.json package.json.backup
yarn add -D react@17.0.2 react-test-renderer@17.0.2 react-native@0.68.3 --ignore-scripts
yarn test:ci
mv package.json.backup package.json
mv yarn.lock.backup yarn.lock
yarn --ignore-scripts