diff --git a/packages/react-instantsearch/examples/react-native/package.json b/packages/react-instantsearch/examples/react-native/package.json index 48a151c272..a0e7505c49 100644 --- a/packages/react-instantsearch/examples/react-native/package.json +++ b/packages/react-instantsearch/examples/react-native/package.json @@ -17,7 +17,7 @@ "eject": "react-native-scripts eject", "android": "react-native-scripts android", "ios": "react-native-scripts ios", - "test": "node node_modules/jest/bin/jest.js --watch" + "test": "jest" }, "jest": { "preset": "jest-expo", diff --git a/scripts/test:recipes.sh b/scripts/test:recipes.sh index a2a2298dc6..e4a1ccaaaa 100755 --- a/scripts/test:recipes.sh +++ b/scripts/test:recipes.sh @@ -10,8 +10,8 @@ for d in packages/react-instantsearch/examples/* ; do yarn yarn build if [ "$CI" = "true" ] - then jest --runInBand - else jest + then yarn test --runInBand + else yarn test fi cd ../../../.. done