Skip to content

Commit

Permalink
disable Example tests because of new jest issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavlo Aksonov authored and Pavlo Aksonov committed Mar 27, 2017
1 parent 897c41b commit 7f181d1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 27 deletions.
52 changes: 29 additions & 23 deletions Example/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
{
"name": "Example",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "~15.4.1",
"react-native": "0.42.3",
"react-native-button": "^1.8.2",
"react-native-drawer": "^2.3.0",
"react-native-router-flux": "^3.38.0"
},
"devDependencies": {
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"jest": "19.0.2",
"react-test-renderer": "~15.4.1"
},
"jest": {
"preset": "react-native"
}
"name": "Example",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"jest": "jest"
},
"dependencies": {
"react": "~15.4.1",
"react-native": "0.42.3",
"react-native-button": "^1.8.2",
"react-native-drawer": "^2.3.0",
"react-native-router-flux": "^3.38.0"
},
"devDependencies": {
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"jest": "19.0.2",
"jest-react-native": "^18.0.0",
"react-test-renderer": "~15.4.1"
},
"jest": {
"preset": "react-native",
"setupFiles": ["./jest/setup.js"],
"transformIgnorePatterns": [
"node_modules/(?!react-native|native-base|react-clone-referenced-element)"
]
}
}
4 changes: 4 additions & 0 deletions Example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,10 @@ jest-mock@^19.0.0:
version "19.0.0"
resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-19.0.0.tgz#67038641e9607ab2ce08ec4a8cb83aabbc899d01"

jest-react-native@^18.0.0:
version "18.0.0"
resolved "https://registry.yarnpkg.com/jest-react-native/-/jest-react-native-18.0.0.tgz#77dd909f069324599f227c58c61c2e62168726ba"

jest-regex-util@^19.0.0:
version "19.0.0"
resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-19.0.0.tgz#b7754587112aede1456510bb1f6afe74ef598691"
Expand Down
5 changes: 1 addition & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ test:
1)
MOCHA_FILE=$CIRCLE_TEST_REPORTS/mocha/junit.xml npm test -- --reporter mocha-junit-reporter
;;
2)
cd Example
npm run jest
;;

esac
:
parallel: true

0 comments on commit 7f181d1

Please sign in to comment.