Skip to content

Commit 1b905e9

Browse files
committed
fix(karma): use ng-html2js, remove 'karma-html2js-preprocessor' dep
1 parent 64a69bc commit 1b905e9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: app/templates/_package.json

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"karma-ng-scenario": "~0.1.0",
9898
"karma-firefox-launcher": "~0.1.6",
9999
"karma-script-launcher": "~0.1.0",
100-
"karma-html2js-preprocessor": "~0.1.0",
101100
"karma-chrome-launcher": "~0.2.0",
102101
"requirejs": "~2.1.11",
103102
"karma-requirejs": "~0.2.2",

Diff for: app/templates/karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function(config) {
2828
],
2929

3030
preprocessors: {
31-
'**/*.html': 'html2js'<% if (filters.jade) { %>,
31+
'**/*.html': 'ng-html2js'<% if (filters.jade) { %>,
3232
'**/*.jade': 'ng-jade2js'<% } if (filters.babel) { %>,
3333
'client/{app,components}/**/*.js': 'babel'<% } %>
3434
},

0 commit comments

Comments
 (0)