Skip to content

Commit 5206fee

Browse files
Merge pull request #114 from eQualityTime/addtestfiles
Addtestfiles
2 parents c3f94e8 + 59c0d79 commit 5206fee

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

templates/javascript/ovf.conf.js

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Karma configuration
2+
// Generated on Wed Jan 03 2018 11:05:15 GMT+0000 (GMT)
3+
4+
module.exports = function(config) {
5+
config.set({
6+
7+
// base path that will be used to resolve all patterns (eg. files, exclude)
8+
basePath: '',
9+
10+
11+
// frameworks to use
12+
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13+
frameworks: ['jasmine'],
14+
15+
16+
// list of files / patterns to load in the browser
17+
files: [
18+
'*.js',
19+
'tests/*.js'
20+
],
21+
22+
23+
// list of files to exclude
24+
exclude: [
25+
'n'
26+
],
27+
28+
29+
// preprocess matching files before serving them to the browser
30+
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
31+
preprocessors: {
32+
},
33+
34+
35+
// test results reporter to use
36+
// possible values: 'dots', 'progress'
37+
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
38+
reporters: ['progress'],
39+
40+
41+
// web server port
42+
port: 9876,
43+
44+
45+
// enable / disable colors in the output (reporters and logs)
46+
colors: true,
47+
48+
49+
// level of logging
50+
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
51+
logLevel: config.LOG_INFO,
52+
53+
54+
// enable / disable watching file and executing tests whenever any file changes
55+
autoWatch: true,
56+
57+
58+
// start these browsers
59+
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
60+
browsers: ['Firefox'],
61+
62+
63+
// Continuous Integration mode
64+
// if true, Karma captures browsers, runs the tests and exits
65+
singleRun: false,
66+
67+
// Concurrency level
68+
// how many browser should be started simultaneous
69+
concurrency: Infinity
70+
})
71+
}

0 commit comments

Comments
 (0)