forked from zqjimlove/angular-ueditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
35 lines (27 loc) · 827 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
module.exports = function(config){
config.set({
basePath : './',
files : [
'http://cdn.staticfile.org/angular.js/1.2.18/angular.min.js',
'http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20/angular-mocks.js',
'http://ueditor.baidu.com/ueditor/ueditor.config.js',
'http://ueditor.baidu.com/ueditor/ueditor.all.js',
'http://cdn.staticfile.org/jquery/2.1.1-rc2/jquery.js',
'dist/angular-ueditor.js',
'tests/**/*.js'
],
autoWatch : true,
frameworks: ['jasmine'],
browsers : ['Chrome'],
plugins : [
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-jasmine',
'karma-junit-reporter'
],
junitReporter : {
outputFile: 'test_out/unit.xml',
suite: 'unit'
}
});
};