forked from Esri/esri-leaflet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
karma.conf.js
45 lines (38 loc) · 1002 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// karma.conf.js
module.exports = function(config) {
config.set({
frameworks: ['mocha'],
basePath: './',
files: [
'node_modules/expect.js/expect.js',
'vendor/Leaflet/dist/leaflet-src.js',
'vendor/terraformer/terraformer.js',
'vendor/terraformer-arcgis-parser/terraformer-arcgis-parser.js',
'vendor/terraformer-geostore-rtree/terraformer-geostore-rtree.js',
'src/esri-leaflet.js',
'src/Layers/*.js',
'spec/**/*.js'
],
reporters: [
'progress',
'coverage'
],
exclude: [
'karma.conf.js'
],
// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera
// - Safari (only Mac)
// - PhantomJS
// - IE (only Windows)
// CLI --browsers Chrome,Firefox,Safari
browsers: ['PhantomJS'],
// If browser does not capture in given timeout [ms], kill it
captureTimeout: 60000,
singleRun: true,
autoWatch: false
});
};