-
Notifications
You must be signed in to change notification settings - Fork 1
/
karma.conf.js
37 lines (28 loc) · 846 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
// Karma configuration
// Generated on Thu Nov 03 2016 22:41:07 GMT-0400 (Hora de verano del Este)
module.exports = function (karma) {
karma.set({
// frameworks to use
frameworks: [ 'browserify', 'jasmine' ],
// list of files/patterns to load in the browser
files: [
// our test files
'test/**/*.js'
],
// preprocess matching files before serving them to the browser
preprocessors: {
'test/**/*.js': [ 'browserify' ]
},
// test results reporter to use
// - added by karma-spec-reporter module
reporters: ['spec'],
// level of logging
logLevel: karma.LOG_INFO,
// enable/disable watching file and executing tests whenever any file changes
autoWatch: false,
// Continuous Integration mode
singleRun: true,
// start these browsers
browsers: ['Firefox'],
});
};