forked from Macadoshis/adal-angular8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
29 lines (29 loc) · 831 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
module.exports = function (config) {
config.set({
angularCli: {
environment: 'dev'
},
browsers: ['Chrome'],
frameworks: ['jasmine', 'karma-typescript'],
plugins: [
require('karma-jasmine'),
require('karma-typescript'),
require('karma-chrome-launcher'),
require('@angular-devkit/build-angular')
],
files: [
'src/**/*.spec.ts'
],
preprocessors: {
"src/**/*.ts": "karma-typescript" // *.ts
},
reporters: ["progress", "karma-typescript"],
karmaTypescriptConfig: {
compilerOptions: {
target: "ES2015",
lib: ["es2015", "es2017", "dom"]
},
tsconfig: "tsconfig.json"
}
});
};