main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100755
|
File size:
1.5 KB
|
Line | |
---|
1 | // Karma configuration
|
---|
2 | // Generated on Tue Oct 15 2013 15:27:53 GMT+0200 (CEST)
|
---|
3 |
|
---|
4 | module.exports = function(config) {
|
---|
5 | config.set({
|
---|
6 |
|
---|
7 | // base path, that will be used to resolve files and exclude
|
---|
8 | basePath: '',
|
---|
9 |
|
---|
10 |
|
---|
11 | // frameworks to use
|
---|
12 | frameworks: ['mocha', 'chai'],
|
---|
13 |
|
---|
14 |
|
---|
15 | // list of files / patterns to load in the browser
|
---|
16 | files: [
|
---|
17 | 'dist/SVGPathData.js',
|
---|
18 | 'tests/**/*.mocha.js'
|
---|
19 | ],
|
---|
20 |
|
---|
21 |
|
---|
22 | // list of files to exclude
|
---|
23 | exclude: [
|
---|
24 |
|
---|
25 | ],
|
---|
26 |
|
---|
27 |
|
---|
28 | // test results reporter to use
|
---|
29 | // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
|
---|
30 | reporters: ['progress'],
|
---|
31 |
|
---|
32 |
|
---|
33 | // web server port
|
---|
34 | port: 9876,
|
---|
35 |
|
---|
36 |
|
---|
37 | // enable / disable colors in the output (reporters and logs)
|
---|
38 | colors: true,
|
---|
39 |
|
---|
40 |
|
---|
41 | // level of logging
|
---|
42 | // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
---|
43 | logLevel: config.LOG_INFO,
|
---|
44 |
|
---|
45 |
|
---|
46 | // enable / disable watching file and executing tests whenever any file changes
|
---|
47 | autoWatch: true,
|
---|
48 |
|
---|
49 |
|
---|
50 | // Start these browsers, currently available:
|
---|
51 | // - Chrome
|
---|
52 | // - ChromeCanary
|
---|
53 | // - Firefox
|
---|
54 | // - Opera
|
---|
55 | // - Safari (only Mac)
|
---|
56 | // - PhantomJS
|
---|
57 | // - IE (only Windows)
|
---|
58 | browsers: ['Chrome', 'Firefox', 'PhantomJS'],
|
---|
59 |
|
---|
60 |
|
---|
61 | // If browser does not capture in given timeout [ms], kill it
|
---|
62 | captureTimeout: 60000,
|
---|
63 |
|
---|
64 |
|
---|
65 | // Continuous Integration mode
|
---|
66 | // if true, it capture browsers, run tests and exit
|
---|
67 | singleRun: false
|
---|
68 | });
|
---|
69 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.