-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
44 lines (36 loc) · 1.53 KB
/
karma.conf.js
File metadata and controls
44 lines (36 loc) · 1.53 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
module.exports = function(config) {
config.set({
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine', 'chai'],
// list of files / patterns to load in the browser
// we need angular and it's mocks for testing/loading modules
files: [
'./www_dev/bower_components/angular/angular.js',
'./www_dev/bower_components/angular-animate/angular-animate.js',
'./www_dev/bower_components/angular-sanitize/angular-sanitize.js',
'./www_dev/bower_components/angular-ui-router/release/angular-ui-router.js',
'./www_dev/bower_components/ionic/release/js/ionic.js',
'./www_dev/bower_components/ionic/release/js/ionic-angular.js',
'./www_dev/bower_components/fh-js-sdk/dist/feedhenry.js',
'./www_dev/bower_components/ng-act/src/Act.js',
'./www_dev/bower_components/ngCordova/dist/ng-cordova.js',
'./www_dev/bower_components/angular-mocks/angular-mocks.js',
'./www_dev/bundle.js', // Compliled app source
'./tests/**/*.js'
],
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: 'INFO',
captureTimeout: 60000,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: false,
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: true
});
};