-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkarma.conf.js
50 lines (43 loc) · 1.28 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
40
41
42
43
44
45
46
47
48
49
50
module.exports = (config) => {
config.set({
basePath: '',
files: [
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/jquery/dist/jquery.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/ckeditor/ckeditor.js',
'node_modules/ckeditor/lang/en.js',
'node_modules/ckeditor/styles.js',
'node_modules/ckeditor/config.js',
'dist/ng-ck.min.js',
'tests/ng-ck.spec.js',
'node_modules/ckeditor/contents.css',
'node_modules/ckeditor/skins/moono-lisa/editor.css',
'node_modules/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css',
'node_modules/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css'
],
preprocessors: { './src/ng-quill.js': 'coverage' },
autoWatch: true,
frameworks: ['jasmine'],
reporters: ['mocha', 'coverage'],
browsers: ['PhantomJS'],
plugins: [
'karma-phantomjs-launcher',
'karma-jasmine',
'karma-chrome-launcher',
'karma-coverage',
'karma-jasmine',
'karma-mocha-reporter',
'karma-phantomjs-launcher'
],
singleRun: true,
coverageReporter: {
dir: 'coverage',
reporters: [
{type: 'html', subdir: 'html'},
{type: 'text'}
]
}
})
}