forked from fullcalendar/fullcalendar-workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.config.js
60 lines (48 loc) · 1.49 KB
/
karma.config.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
module.exports = function(config) {
config.set({
basePath: '',
frameworks: [ 'jasmine' ],
files: [
// dependencies for main lib
'node_modules/moment/moment.js',
'node_modules/jquery/dist/jquery.js',
'node_modules/components-jqueryui/jquery-ui.js',
'node_modules/components-jqueryui/themes/cupertino/jquery-ui.css',
'fullcalendar/dist/fullcalendar.js',
'fullcalendar/dist/locale-all.js',
'fullcalendar/dist/fullcalendar.css',
// main lib files
'dist/scheduler.js',
'dist/scheduler.css',
// dependencies for tests
'node_modules/native-promise-only/lib/npo.src.js',
'node_modules/jasmine-jquery/lib/jasmine-jquery.js',
'node_modules/jasmine-fixture/dist/jasmine-fixture.js',
'node_modules/jquery-simulate/jquery.simulate.js',
'node_modules/jquery-mockjax/dist/jquery.mockjax.js',
'tests/automated/base.css',
'tmp/automated-tests.js',
{ // serve all other files
pattern: '**/*',
included: false, // don't immediately execute
nocache: true, // don't let the webserver cache
watched: false // don't let changes trigger tests to restart
}
],
preprocessors: {
'**/*.js': [ 'sourcemap' ]
},
customLaunchers: {
PhantomJS_custom: {
base: 'PhantomJS',
options: {
viewportSize: {
width: 1024,
height: 768
}
}
}
},
reporters: [ 'dots' ]
})
}