From c516ecebccbb3fe31116b10a132e6f077bd6de4f Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 28 Mar 2016 17:47:06 +0100 Subject: [PATCH] No need for .babelrc --- .babelrc | 3 --- karma.conf.js | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) delete mode 100644 .babelrc diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 0578679419..0000000000 --- a/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["react", "es2015"] -} diff --git a/karma.conf.js b/karma.conf.js index 613930ae45..52e85f02c3 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -5,6 +5,12 @@ var path = require('path'); /* * It's a pain to have to wait for webpack to build everything; however it's * the easiest way to load our dependencies from node_modules. + * + * TODO: + * - how do we stub out the js-sdk + * - can we run one test at a time + * - can we can we run under phantomjs/jsdom? + * - write junit out */ module.exports = function (config) { config.set({ @@ -68,6 +74,9 @@ module.exports = function (config) { include: [path.resolve('./src'), path.resolve('./test'), ], + query: { + presets: ['react', 'es2015'] + }, }, ], noParse: [