diff --git a/package.json b/package.json index 21d378f9..cd457fb0 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/wallaby.config.js b/wallaby.config.js index bf73937d..fa4a6e78 100644 --- a/wallaby.config.js +++ b/wallaby.config.js @@ -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 } ],