Skip to content

Commit

Permalink
jest + graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
matar authored and matar committed Oct 4, 2017
1 parent 01c92e7 commit 2da46d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/react-scripts/config/jest/babelTransform.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ const babelJest = require('babel-jest');

module.exports = babelJest.createTransformer({
presets: [require.resolve('babel-preset-react-app')],
plugins: [require.resolve('babel-plugin-relay')],
babelrc: false,
});
6 changes: 3 additions & 3 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.6",
"react-error-overlay": "^1.0.9",
"sass-loader": "^6.0.6",
"promise": "8.0.1",
"react-dev-utils": "^4.1.0",
"react-error-overlay": "^2.0.2",
"sass-loader": "^6.0.6",
"style-loader": "0.18.2",
"sw-precache-webpack-plugin": "0.11.4",
"url-loader": "0.5.9",
Expand All @@ -61,7 +61,7 @@
"whatwg-fetch": "2.0.3"
},
"devDependencies": {
"babel-plugin-relay": "^1.1.0",
"babel-plugin-relay": "^1.4.1",
"react": "^15.5.4",
"react-dom": "^15.5.4"
},
Expand Down

0 comments on commit 2da46d4

Please sign in to comment.