diff --git a/.babelrc b/.babelrc index 3a8d86c..f040c5e 100644 --- a/.babelrc +++ b/.babelrc @@ -10,7 +10,11 @@ ], "env": { "test": { - "plugins": [ "istanbul" ] + "plugins": [ + "transform-decorators-legacy", + "transform-object-rest-spread", + "istanbul" + ] } } } diff --git a/conf/webpack/Test.js b/conf/webpack/Test.js index b1e11c2..24d4af8 100644 --- a/conf/webpack/Test.js +++ b/conf/webpack/Test.js @@ -42,9 +42,6 @@ class WebpackTestConfig extends WebpackBaseConfig { { test: /\.(js|jsx)$/, loader: 'babel-loader', - query: { - presets: ['airbnb'] - }, include: [].concat( this.includedPackages, [ diff --git a/package.json b/package.json index 6170c44..14f7b7c 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "babel-preset-react": "^6.5.0", "chai": "^3.5.0", "copyfiles": "^1.0.0", - "css-loader": "^0.23.1", + "css-loader": "^0.24.0", "enzyme": "^2.2.0", "eslint": "^3.0.0", "eslint-config-airbnb": "^10.0.0",