forked from SAP-archive/openui5-basic-template-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
60 lines (46 loc) · 1019 Bytes
/
karma.conf.js
File metadata and controls
60 lines (46 loc) · 1019 Bytes
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
/* global module*/
module.exports = function(config) {
"use strict";
config.set({
basePath: 'webapp',
frameworks: ['qunit', 'openui5'],
openui5: {
path: 'http://localhost:8080/resources/sap-ui-core.js',
useMockServer : true
},
client: {
openui5: {
config: {
theme: 'sap_belize',
language: 'EN',
animation: false,
compatVersion: 'edge',
async: true,
resourceroots: {'sap.ui.demo.basicTemplate': './base'}
},
tests: [
'sap/ui/demo/basicTemplate/test/unit/AllTests',
'sap/ui/demo/basicTemplate/test/integration/AllJourneys'
],
mockserver: {
metadataURL: '/base/localService/metadata.xml'
}
},
clearContext: false,
qunit: {
showUI: true
}
},
files: [
{ pattern: '**', included: false, served: true, watched: true}
],
reporters: ['progress'],
logLevel: config.LOG_INFO,
browserConsoleLogOptions: {
level: 'warn'
},
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
});
};