forked from lbdremy/solr-node-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
28 lines (28 loc) · 794 Bytes
/
karma.conf.js
File metadata and controls
28 lines (28 loc) · 794 Bytes
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
module.exports = function (config) {
config.set({
frameworks: ['jasmine', 'karma-typescript'],
files: [{ pattern: 'test/**/*.ts' }, { pattern: 'lib/**/*.ts'}],
preprocessors: {
"**/*.ts": "karma-typescript"
},
karmaTypescriptConfig: {
compilerOptions: {
emitDecoratorMetadata: true,
experimentalDecorators: true,
jsx: "react",
module: "commonjs",
sourceMap: true,
target: "2018"
},
exclude: ["node_modules"]
},
reporters: ['progress'],
port: 9876, // karma web server port
colors: true,
logLevel: config.LOG_INFO,
browsers: ['ChromeHeadless'],
autoWatch: false,
singleRun: true, // Karma captures browsers, runs the tests and exits
concurrency: Infinity,
});
};