remove the presets from karma.conf.js

as it seems to pick them up from .babelrc
pull/21833/head
David Baker 2016-10-13 09:48:07 +01:00
parent 0931f746d8
commit 8c5fde28d1
1 changed files with 1 additions and 7 deletions

View File

@ -131,13 +131,7 @@ module.exports = function (config) {
test: /\.js$/, loader: "babel",
include: [path.resolve('./src'),
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: [