| OLD | NEW |
| 1 // Karma configuration | 1 // Karma configuration |
| 2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT) | 2 // Generated on Mon Apr 20 2015 06:33:20 GMT-0700 (PDT) |
| 3 | 3 |
| 4 module.exports = function(config) { | 4 module.exports = function(config) { |
| 5 var configuration = { | 5 var configuration = { |
| 6 | 6 |
| 7 // base path that will be used to resolve all patterns (eg. files, exclude) | 7 // base path that will be used to resolve all patterns (eg. files, exclude) |
| 8 basePath: '', | 8 basePath: '', |
| 9 | 9 |
| 10 // frameworks to use | 10 // frameworks to use |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 ], | 41 ], |
| 42 | 42 |
| 43 // preprocess matching files before serving them to the browser | 43 // preprocess matching files before serving them to the browser |
| 44 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces
sor | 44 // available preprocessors: https://npmjs.org/browse/keyword/karma-preproces
sor |
| 45 preprocessors: { | 45 preprocessors: { |
| 46 }, | 46 }, |
| 47 | 47 |
| 48 client: { | 48 client: { |
| 49 captureConsole: false, | 49 captureConsole: false, |
| 50 mocha: { | 50 mocha: { |
| 51 ui: 'tdd' | 51 ui: 'tdd', |
| 52 timeout : 6000 |
| 52 }, | 53 }, |
| 53 }, | 54 }, |
| 54 | 55 |
| 55 // test results reporter to use | 56 // test results reporter to use |
| 56 // possible values: 'dots', 'progress' | 57 // possible values: 'dots', 'progress' |
| 57 // available reporters: https://npmjs.org/browse/keyword/karma-reporter | 58 // available reporters: https://npmjs.org/browse/keyword/karma-reporter |
| 58 reporters: ['progress'], | 59 reporters: ['progress'], |
| 59 | 60 |
| 60 // web server port | 61 // web server port |
| 61 port: 9876, | 62 port: 9876, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 configuration.browsers = ['chrome_canary_travis']; | 99 configuration.browsers = ['chrome_canary_travis']; |
| 99 configuration.autoWatch = false; | 100 configuration.autoWatch = false; |
| 100 // Enable this for more logging on Travis. It is too much for Travis to | 101 // Enable this for more logging on Travis. It is too much for Travis to |
| 101 // automatically display, but still results in a downloadable raw log. | 102 // automatically display, but still results in a downloadable raw log. |
| 102 // configuration.logLevel = config.LOG_DEBUG; | 103 // configuration.logLevel = config.LOG_DEBUG; |
| 103 configuration.client.captureConsole = true; | 104 configuration.client.captureConsole = true; |
| 104 } | 105 } |
| 105 | 106 |
| 106 config.set(configuration); | 107 config.set(configuration); |
| 107 }; | 108 }; |
| OLD | NEW |