remove the presets from karma.conf.js

as it seems to pick them up from .babelrc
This commit is contained in:
David Baker 2016-10-13 09:48:07 +01:00
parent 0931f746d8
commit 8c5fde28d1

View file

@ -131,13 +131,7 @@ module.exports = function (config) {
test: /\.js$/, loader: "babel", test: /\.js$/, loader: "babel",
include: [path.resolve('./src'), include: [path.resolve('./src'),
path.resolve('./test'), path.resolve('./test'),
], ]
query: {
// we're using react 5, for consistency with
// the release build, which doesn't use the
// presets.
// presets: ['react', 'es2015'],
},
}, },
], ],
noParse: [ noParse: [