From 8c5fde28d13d9bd92972b976e243194b67708ce5 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 13 Oct 2016 09:48:07 +0100 Subject: [PATCH] remove the presets from karma.conf.js as it seems to pick them up from .babelrc --- karma.conf.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 45f5dd9998..131a03ce79 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -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: [