From 00621f9f523339cc6da35411f80d0b192605a3c4 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 2 Sep 2016 21:51:38 +0100 Subject: [PATCH] allow test/helper files with .js extension --- karma.conf.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 644ae11d2..8bbdc4da0 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -29,11 +29,11 @@ module.exports = function karma(config) { reporters: ['dots'], files: [ - 'test/*.jsx', + 'test/*.{jsx,js}', ], exclude: [ - 'test/_*.jsx', + 'test/_*.{jsx,js}', ], browsers: [ @@ -42,7 +42,7 @@ module.exports = function karma(config) { ], preprocessors: { - 'test/*.jsx': ['webpack', 'sourcemap'], + 'test/*.{jsx,js}': ['webpack', 'sourcemap'], }, webpack: {