|
@@ -19,6 +19,7 @@ module.exports = function(config) {
|
19
|
19
|
'www/lib/angular-mocks/angular-mocks.js',
|
20
|
20
|
'www/lib/angular-route/angular-route.js',
|
21
|
21
|
'www/js/**/*.js',
|
|
22
|
+ 'www/partials/*.html',
|
22
|
23
|
'tests/**/*.js'
|
23
|
24
|
],
|
24
|
25
|
|
|
@@ -31,8 +32,13 @@ module.exports = function(config) {
|
31
|
32
|
// preprocess matching files before serving them to the browser
|
32
|
33
|
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
33
|
34
|
preprocessors: {
|
|
35
|
+ 'www/partials/*.html': 'ng-html2js'
|
34
|
36
|
},
|
35
|
37
|
|
|
38
|
+ ngHtml2JsPreprocessor: {
|
|
39
|
+ stripPrefix: 'www/',
|
|
40
|
+ moduleName: 'bootcampAppPartials'
|
|
41
|
+ },
|
36
|
42
|
|
37
|
43
|
// test results reporter to use
|
38
|
44
|
// possible values: 'dots', 'progress'
|