forked from yabwe/medium-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.dev.conf.js
74 lines (62 loc) · 1.95 KB
/
karma.dev.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* global module */
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'dist/css/*.css',
'node_modules/lodash/lodash.js',
'src/js/polyfills.js',
'src/js/globals.js',
'src/js/util.js',
'src/js/extension.js',
'src/js/selection.js',
'src/js/events.js',
'src/js/extensions/button.js',
'src/js/defaults/buttons.js',
'src/js/extensions/form.js',
'src/js/extensions/anchor.js',
'src/js/extensions/anchor-preview.js',
'src/js/extensions/auto-link.js',
'src/js/extensions/file-dragging.js',
'src/js/extensions/keyboard-commands.js',
'src/js/extensions/fontname.js',
'src/js/extensions/fontsize.js',
'src/js/extensions/paste.js',
'src/js/extensions/placeholder.js',
'src/js/extensions/toolbar.js',
'src/js/extensions/deprecated/image-dragging.js',
'src/js/core.js',
'src/js/defaults/options.js',
'src/js/version.js',
'spec/helpers/util.js',
'spec/*.spec.js'
],
exclude: [
'src/js/extensions/deprecated/*'
],
preprocessors: {
},
browsers: [
'Chrome'
],
plugins: [
'karma-jasmine',
'karma-spec-reporter',
'karma-jasmine-html-reporter',
'karma-browserstack-launcher',
'karma-phantomjs-launcher',
'karma-chrome-launcher'
],
reporters: ['progress', 'BrowserStack', 'dots', 'spec', 'kjhtml'],
port: 9876,
logLevel: config.LOG_INFO,
colors: true,
autoWatch: false,
client: {
clearContext: false
},
singleRun: true,
concurrency: Infinity
});
};