forked from angular/zone.js
-
Notifications
You must be signed in to change notification settings - Fork 5
/
karma.conf.js
40 lines (31 loc) · 809 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
40
// Karma configuration
module.exports = function (config) {
config.set({
basePath: '',
files: [
'test/util.js',
'test/setup.js',
'examples/js/*.js',
//'test/lib/brick.js',
'test/**/*.spec.js',
{pattern: 'test/assets/**/*.*', watched: true, served: true, included: false},
{pattern: 'lib/**/*.js', watched: true, served: false, included: false}
],
preprocessors: {
'test/setup.js': [ 'browserify' ]
},
exclude: [
'test/commonjs.spec.js',
'test/microtasks.spec.js'
],
reporters: ['progress'],
//port: 9876,
colors: true,
logLevel: config.LOG_INFO,
browsers: ['Firefox'],
frameworks: ['jasmine', 'browserify'],
captureTimeout: 60000,
autoWatch: true,
singleRun: false
});
};