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 89ca18b556
commit 2873541a1f
1 changed files with 1 additions and 7 deletions

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: [