forked from ni/VireoSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
33 lines (26 loc) · 1.11 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
// Karma configuration
(function () {
'use strict';
module.exports = function (config) {
var sharedConfig = require('./karma.shared.js');
sharedConfig.files = sharedConfig.files.concat([
// test assets
'test-it/karma/utilities/ExtendJasmineTimeout.js',
// test specs
'test-it/karma/helloworld/*.Test.js',
'test-it/karma/publicapi/*.Test.js',
'test-it/karma/vtrsuite/*.Test.js',
'test-it/karma/http/*.Test.js',
'test-it/karma/javascriptinvoke/*.Test.js',
'test-it/karma/propertynode/*.Test.js',
'test-it/karma/events/*.Test.js',
'test-it/karma/static/*.Test.js'
]);
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
sharedConfig.logLevel = config.LOG_INFO;
// Timeout for jasmine set to 50000 in ExtendJasmineTimeout.js so warn if test time getting close
sharedConfig.reportSlowerThan = 40000;
config.set(sharedConfig);
};
}());