mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
10e69c5f67
* 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>
13 lines
280 B
Bash
Executable File
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
|