Added support for testing React components

This commit is contained in:
Andrey Okonetchnikov 2016-09-22 17:20:05 +02:00
parent 53580ab0b9
commit 862b85e4c3
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@
"autoprefixer": "^6.3.3",
"babel-core": "^6.5.1",
"babel-eslint": "^6.1.2",
"babel-jest": "^15.0.0",
"babel-loader": "^6.2.2",
"babel-plugin-lodash": "^3.2.0",
"babel-plugin-transform-class-properties": "^6.5.2",
@ -67,6 +68,7 @@
"react-redux": "^4.4.0",
"react-router": "^2.5.1",
"react-router-redux": "^4.0.5",
"react-test-renderer": "^15.3.2",
"redux": "^3.3.1",
"redux-thunk": "^1.0.3",
"sass-loader": "^4.0.2",

View File

@ -3,6 +3,7 @@ process.env.BABEL_ENV = 'test';
module.exports = wallaby => ({
files: [
{ pattern: 'src/**/*.js' },
{ pattern: 'src/**/*.js.snap' },
{ pattern: 'src/**/*.spec.js', ignore: true }
],