-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
64 lines (49 loc) · 2.04 KB
/
karma.conf.js
File metadata and controls
64 lines (49 loc) · 2.04 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//jshint strict: false
module.exports = function (config) {
config.set({
basePath: './', //was './app'
files: [
'test/**/*.js',
'bower_components/jquery/dist/jquery.js',
'bower_components/angular/angular.js',
'bower_components/angular-messages/angular-messages.js',
'bower_components/angular-resource/angular-resource.js',
'bower_components/angular-sanitize/angular-sanitize.js',
'bower_components/firebase/firebase.js',
'bower_components/angularfire/dist/angularfire.js',
'bower_components/angular-ui-router/release/angular-ui-router.js',
'bower_components/angular-toastr/dist/angular-toastr.tpls.js',
'bower_components/quill/dist/quill.js',
'bower_components/ngQuill/src/ng-quill.js',
'bower_components/ng-file-upload/ng-file-upload.js',
'bower_components/ng-file-upload-shim/ng-file-upload-shim.js',
'bower_components/what-input/dist/what-input.js',
'bower_components/foundation-sites/dist/js/foundation.js',
'bower_components/slick-carousel/slick/slick.js',
'bower_components/moment/moment.js',
'bower_components/amplify/lib/amplify.js',
'bower_components/lodash/lodash.js',
'bower_components/angular-mocks/angular-mocks.js',
//'components/**/*.js',
//'view*/**/*.js'
'test/mocks/*.js',
//'src/app/app-payments-and-subscriptions/**/*.js'
'src/app/**/*.module.js',
'src/environment-settings/environment.dev.js',
'src/app/**/*.js'
],
autoWatch: true,
frameworks: ['jasmine'],
browsers: ['Chrome'],
plugins: [
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine',
'karma-junit-reporter'
],
junitReporter: {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
});
};