| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be found | 2 // Use of this source code is governed by a BSD-style license that can be found |
| 3 // in the LICENSE file. | 3 // in the LICENSE file. |
| 4 // | 4 // |
| 5 // Use of this source code is governed by a BSD-style | 5 // Use of this source code is governed by a BSD-style |
| 6 // license that can be found in the LICENSE file. | 6 // license that can be found in the LICENSE file. |
| 7 // | 7 // |
| 8 // Karma configuration | 8 // Karma configuration |
| 9 | 9 |
| 10 var browsers; | 10 var browsers; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // base path, that will be used to resolve files and exclude | 23 // base path, that will be used to resolve files and exclude |
| 24 basePath: '', | 24 basePath: '', |
| 25 | 25 |
| 26 | 26 |
| 27 // frameworks to use | 27 // frameworks to use |
| 28 frameworks: ['mocha', 'chai'], | 28 frameworks: ['mocha', 'chai'], |
| 29 | 29 |
| 30 | 30 |
| 31 // list of files / patterns to load in the browser | 31 // list of files / patterns to load in the browser |
| 32 files: [ | 32 files: [ |
| 33 'res/js/perf.js', |
| 33 'res/js/logic.js', | 34 'res/js/logic.js', |
| 34 'tests/*.js' | 35 'tests/*.js' |
| 35 ], | 36 ], |
| 36 | 37 |
| 37 | 38 |
| 38 // list of files to exclude | 39 // list of files to exclude |
| 39 exclude: [ | 40 exclude: [ |
| 40 ], | 41 ], |
| 41 | 42 |
| 42 | 43 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 71 captureTimeout: 60000, | 72 captureTimeout: 60000, |
| 72 | 73 |
| 73 | 74 |
| 74 // Continuous Integration mode | 75 // Continuous Integration mode |
| 75 // if true, it capture browsers, run tests and exit | 76 // if true, it capture browsers, run tests and exit |
| 76 // | 77 // |
| 77 // This can be over-ridden by command-line flag when running Karma. | 78 // This can be over-ridden by command-line flag when running Karma. |
| 78 singleRun: true | 79 singleRun: true |
| 79 }); | 80 }); |
| 80 }; | 81 }; |
| OLD | NEW |