-
Notifications
You must be signed in to change notification settings - Fork 5
/
karma.conf.js
39 lines (38 loc) · 995 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
module.exports = function (config) {
'use strict';
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'bower_components/jquery/dist/jquery.js',
'bower_components/sinonjs/sinon.js',
'bower_components/jasmine-sinon/lib/jasmine-sinon.js',
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'src/angular-packery.js',
'test/mocks/**/*.js',
'test/spec/**/*.coffee'
],
preprocessors: {
'**/*.coffee': ['coffee']
},
coffeePreprocessor: {
// options passed to the coffee compiler
options: {
bare: true,
sourceMap: false
},
// transforming the filenames
transformPath: function (path) {
return path.replace(/\.coffee$/, '.js');
}
},
exclude: [],
reporters: ['dots'],
autoWatch: false,
browsers: ['Chrome'],
captureTimeout: 5000,
singleRun: true,
reportSlowerThan: 100
});
};