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