@ -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'],
@ -3168,6 +3168,12 @@
"integrity": "sha1-zlj0fCATqIFW1VpdYTN8CZz1u1E=",
"dev": true
"karma-html2js-preprocessor": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/karma-html2js-preprocessor/-/karma-html2js-preprocessor-1.1.0.tgz",
"integrity": "sha1-/Ant8Eu+K7bu6boZaPgmtziAIL0=",
"karma-mocha": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/karma-mocha/-/karma-mocha-1.3.0.tgz",
@ -26,6 +26,7 @@
"eslint": "^4.4.1",
"karma": "^1.7.0",
"karma-firefox-launcher": "^1.0.1",
"karma-html2js-preprocessor": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3",
"karma-sourcemap-loader": "^0.3.7",