forked from arthur-e/Wicket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
28 lines (28 loc) · 859 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
module.exports = function(config) {
config.set({
basePath: '',
port: 9877,
colors: true,
logLevel: 'INFO',
autoWatch: false,
browsers: ['PhantomJS'],
phantomjsLauncher: {
// Have phantomjs exit if a ResourceError is encountered (useful if karma exits without killing phantom)
exitOnResourceError: false,
flags: [
'--web-security=false',
'--load-images=false',
'--ignore-ssl-errors=true'
]
},
singleRun: true,
frameworks: ['jasmine'],
reporters: ['mocha'],
files: [
'https://maps.googleapis.com/maps/api/js?v=3.31&libraries=geometry',
'wicket.js',
'wicket-gmap3.js',
'tests/wicket-gmap3-spec.js'
]
});
};