Skip to content

Commit 37ecf41

Browse files
committed
feat: ship html2js preprocessor as a default plugin
1 parent 1d04dab commit 37ecf41

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ var Config = function() {
262262
this.captureTimeout = 60000;
263263
this.proxies = {};
264264
this.proxyValidateSSL = true;
265-
this.preprocessors = {'**/*.coffee': 'coffee'};
265+
this.preprocessors = {'**/*.coffee': 'coffee', '**/*.html': 'html2js'};
266266
this.urlRoot = '/';
267267
this.reportSlowerThan = 0;
268268
this.loggers = [constant.CONSOLE_APPENDER];

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"karma-jasmine": "*",
9494
"karma-requirejs": "*",
9595
"karma-coffee-preprocessor": "*",
96+
"karma-html2js-preprocessor": "*",
9697
"karma-chrome-launcher": "*",
9798
"karma-firefox-launcher": "*",
9899
"karma-phantomjs-launcher": "*",

0 commit comments

Comments
 (0)