-
Notifications
You must be signed in to change notification settings - Fork 132
/
wallaby.js
41 lines (37 loc) · 1.35 KB
/
wallaby.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//var wallabyAngularFilesort = require('wallaby-angular-filesort');
//var wallabyPostprocessor = wallabyAngularFilesort.create({
// whitelist: ['app/modules/**/*.js']
//});
var angularTemplatePreprocessor = require('wallaby-ng-html2js-preprocessor');
module.exports = function () {
return {
files: [
'/app/bower_components/jquery/dist/jquery.js',
'/app/bower_components/lodash/lodash.js',
'/app/bower_components/angular/angular.js',
'/app/bower_components/angular-sanitize/angular-sanitize.js',
'/app/bower_components/angular-animate/angular-animate.js',
'/app/bower_components/angular-aria/angular-aria.js',
'/app/bower_components/angular-messages/angular-messages.js',
'/app/bower_components/angular-material-icons/angular-material-icons.min.js',
'/app/bower_components/angular-material/angular-material.js',
'app/**/*.html',
'/app/bower_components/angular-mocks/angular-mocks.js',
'/app/modules/**/*.js'
],
tests: [
'test/unit/**/*.js'
],
//postprocessor: wallabyPostprocessor,
preprocessors: {
'app/modules/main/templates/**/*.html': function (file) {
return angularTemplatePreprocessor.transform(file, {
stripPrefix: 'app/modules',
moduleName: 'mdtTemplates'
})
}
},
testFramework: 'jasmine',
debug: true
}
};