-
Notifications
You must be signed in to change notification settings - Fork 112
/
karma.conf.js
39 lines (32 loc) · 924 Bytes
/
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
31
32
33
34
35
36
37
38
39
//jshint strict: false
module.exports = function(config) {
config.set({
basePath: './app',
files: [
'../thirdparty/angular/angular.js',
'../thirdparty/angular-ui-router/release/angular-ui-router.js',
'../thirdparty/angular-mocks/angular-mocks.js',
'../thirdparty/angular-touch/angular-touch.js',
'../thirdparty/dirPagination/dirPagination.js',
'../thirdparty/lodash.js',
'../thirdparty/angular-local-storage/angular-local-storage.js',
'../node_modules/bardjs/dist/bard.js',
'*.js',
'**/*.js',
'../scripts/**/*.js'
],
autoWatch: true,
frameworks: ['jasmine', 'sinon', 'jasmine-sinon'],
browsers: ['PhantomJS'],
plugins: [
'karma-phantomjs-launcher',
'karma-chrome-launcher',
'karma-jasmine',
'karma-sinon',
'karma-jasmine-sinon'
],
client: {
captureConsole: true
}
});
};