Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix: test recipes (#740)
Browse files Browse the repository at this point in the history
* refactor(test:recipes): use yarn test instead of jest

* fix(ReactNativeExample): use jest instead of jest-cli
  • Loading branch information
samouss authored Dec 19, 2017
1 parent dff4a77 commit de2cc37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions scripts/test:recipes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit de2cc37

Please sign in to comment.