-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathkarma.conf.js
39 lines (36 loc) · 1.03 KB
/
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) {
config.set({
plugins: [
'karma-mocha',
'karma-chrome-launcher',
'karma-firefox-launcher'
],
frameworks: ['mocha'],
singleRun: false,
autoWatch: true,
colors: true,
reporters: ['dots'],
browsers: [process.env.TRAVIS ? 'Firefox' : 'Chrome'],
files: [
'bower_components/jquery/dist/jquery.js',
'bower_components/angular/angular.js',
'bower_components/ckeditor/ckeditor.js',
{
pattern: 'bower_components/ckeditor/**/*',
watched: false,
included: false,
served: true
},
'bower_components/lodash/lodash.js',
'node_modules/underscore.string/dist/underscore.string.js',
'bower_components/angular-mocks/angular-mocks.js',
'node_modules/chai/chai.js',
'node_modules/chai-jquery/chai-jquery.js',
'node_modules/sinon/pkg/sinon.js',
'node_modules/sinon-chai/lib/sinon-chai.js',
'angular-ckeditor.js',
'test/*.js'
],
logLevel: config.LOG_ERROR
});
};