diff options
Diffstat (limited to 'karma.conf.js')
-rw-r--r-- | karma.conf.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/karma.conf.js b/karma.conf.js index 539fb3a..859cee0 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,13 +1,18 @@ module.exports = function (config) { + var webpackConfig = require('./webpack.config.js'); config.set({ basePath: '', frameworks: ['mocha'], - files: ['test/**/*\.test\.js'], + files: [ + 'test/**/*.test.js', + 'test/**/*.html' + ], preprocessors: { - 'test/**/*\.test\.js': [ 'webpack' ] + 'test/**/*.test.js': [ 'webpack' ], + 'test/**/*.html': ['html2js'] }, reporters: ['progress'], |