From 37ecf41600a9b255ab3d57327cc83d64751642f5 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Fri, 12 Jul 2013 23:42:42 -0700 Subject: [PATCH] feat: ship html2js preprocessor as a default plugin --- lib/config.js | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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": "*",