-
Notifications
You must be signed in to change notification settings - Fork 1
/
karma.conf.js
33 lines (32 loc) · 1.03 KB
/
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
const Path = require( "path" );
module.exports = function( config ) {
config.set( {
frameworks: [
"jasmine",
],
client: {
jasmine: {
random: false
}
},
files: [
// tests
{ pattern: "test/module.spec.js", type: "module" },
{ pattern: "test/esmap.spec.js", type: "module" },
{ pattern: "test/pubsub.spec.js", type: "module" },
// helper files in tests
{ pattern: "test/utils.js", type: "module"},
{ pattern: "test/constants.js", type: "module"},
// files tests rely on
{ pattern: "src/**/*.js", type: "module", included: true, served: true },
{ pattern: "src/**/*.mjs", type: "module", included: true, served: true },
],
reporters: ['dots'],
exclude: [
"src/components/lib/leaflet.js",
"src/components/old/*"
],
browsers: ["ChromeHeadless"],
singleRun: false
} );
};