-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathkarma.conf.js
30 lines (29 loc) · 1.09 KB
/
karma.conf.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
module.exports = function(config) {
config.set({
browsers: ['PhantomJS'],
basePath : '',
plugins : [
'karma-phantomjs-launcher',
'karma-jasmine'
],
files : [
// be careful about globbing, make sure that the stuff you need first is globbed first
'client/bower_components/angular/angular.js',
'client/bower_components/angular-route/angular-route.js',
'client/bower_components/angular-mocks/angular-mocks.js',
'client/bower_components/hammerjs/hammer.js',
'client/bower_components/angular-material/angular-material.js',
'client/bower_components/angular-animate/angular-animate.js',
'client/bower_components/angular-aria/angular-aria.js',
'client/bower_components/angular-loader/angular-loader.js',
'client/app/main/main.js',
'client/app/main/main.service.js',
'client/components/**/*.directive.js',
'client/components/**/*.service.js',
'client/components/**/*.factory.js',
'client/components/**/*.specs.js'
],
singleRun: true,
frameworks: ['jasmine'],
});
};