-
Notifications
You must be signed in to change notification settings - Fork 1
/
karma.conf.js
34 lines (34 loc) · 987 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
module.exports = function (config)
{
config.set({
frameworks: ["jasmine", "karma-typescript"],
files: ["src/**/*.ts"],
preprocessors: {
"src/**/*.ts": ["karma-typescript"]
},
karmaTypescriptConfig: {
compilerOptions: {
noImplicitAny: false,
target: "ES5",
moduleResolution: "node",
module: "commonjs",
sourceMap: true,
removeComments: true,
declaration: true,
experimentalDecorators: true,
},
include: ["src/**/*.ts"],
reports: {
"html": "./coverage/"
}
},
singleRun: true,
port: 9876,
colors: true,
reporters: ["dots", "karma-typescript"],
browsers: ["ChromeHeadless", "Firefox"],
logLevel: config.LOG_INFO,
autoWatch: false,
concurrency: 1
});
};