diff --git a/lib/config.js b/lib/config.js index dcf1bf2be..bee75cc32 100644 --- a/lib/config.js +++ b/lib/config.js @@ -262,7 +262,7 @@ var Config = function() { this.captureTimeout = 60000; this.proxies = {}; this.proxyValidateSSL = true; - this.preprocessors = {'**/*.coffee': 'coffee'}; + this.preprocessors = {'**/*.coffee': 'coffee', '**/*.html': 'html2js'}; this.urlRoot = '/'; this.reportSlowerThan = 0; this.loggers = [constant.CONSOLE_APPENDER]; diff --git a/package.json b/package.json index 93e6f6f1a..57d4eec1e 100644 --- a/package.json +++ b/package.json @@ -93,6 +93,7 @@ "karma-jasmine": "*", "karma-requirejs": "*", "karma-coffee-preprocessor": "*", + "karma-html2js-preprocessor": "*", "karma-chrome-launcher": "*", "karma-firefox-launcher": "*", "karma-phantomjs-launcher": "*",