-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
25 lines (25 loc) · 953 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
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine'], //see doc: http://pivotal.github.io/jasmine/
files: [
'bower_components/jquery/jquery.js',
'bower_components/underscore/underscore.js',
'bower_components/jasmine-jquery/lib/jasmine-jquery.js',
'lib/**/*.js',
'test/matchers.js',
'test/**/*Spec.js',
'app/*.js'
],
exclude: [
],
reporters: ['progress'],// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
port: 9876,
colors: true,
logLevel: config.LOG_INFO,// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
autoWatch: true,
browsers: ['Chrome'], //Chrome, ChromeCanary, Firefox, Opera, Safari (only Mac), PhantomJS, IE (only Windows)
captureTimeout: 60000,
singleRun: false// if true, it capture browsers, run tests and exit
});
};