-
Notifications
You must be signed in to change notification settings - Fork 2
/
wallaby.js
40 lines (37 loc) · 1011 Bytes
/
wallaby.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
module.exports = () => {
return {
files: [
{pattern: 'node_modules/leaflet/dist/leaflet.css', instrument: false},
{pattern: 'dist/css/index.css', instrument: false},
{pattern: 'node_modules/chai/chai.js', instrument: false},
{pattern: 'node_modules/chai-spies/chai-spies.js', instrument: false},
{pattern: 'vendor/js/turf-area.min.js', instrument: false},
{pattern: 'test/helper/*.js', instrument: false},
{
load: true,
pattern: 'node_modules/leaflet/dist/leaflet-src.js',
instrument: false
},
'src/**/*.js',
'!src/**/*.spec.js',
'!dist/**/*.js',
'!src/**/index.mapbox.js'
],
tests: [
'src/**/*.spec.js',
'test/**/*.spec.js',
'test/**/*.e2e.spec.js'
],
env: {
kind: 'chrome',
params: {
runner: '--headless --disable-gpu'
}
},
debug: false,
setup() {
window.expect = chai.expect;
window.assert = chai.assert;
}
};
};