forked from DaHaiz/ngFlowchart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wallaby.js
39 lines (37 loc) · 1.19 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
module.exports = function (wallaby) {
return {
testFramework: '[email protected]',
files: [
'app/bower_components/angular/angular.js',
'app/bower_components/angular-loader/angular-loader.min.js',
'app/bower_components/angular-mocks/angular-mocks.js',
'app/bower_components/angular-route/angular-route.min.js',
'app/bower_components/bind-polyfill/index.js',
'app/*.js',
'dist/onedatastyle.css',
'app/flowchart/**/*.html',
'app/flowchart/flowchart.js',
'app/flowchart/**/*.js',
'!app/flowchart/**/*_test.js',
'!app/server.js'
],
tests: [
'app/flowchart/**/*_test.js'
],
preprocessors: {
'app/**/*.html': function (file) {
return require('wallaby-ng-html2js-preprocessor').transform(file, {
// strip this from the file path
stripPrefix: 'app/',
//stripSufix: '.ext',
// prepend this to the
//prependPrefix: '/',
// setting this option will create only a single module that contains templates
// from all the files, so you can load them all with module('foo')
moduleName: 'flowchart-templates'
})
},
}
};
}
;