OLD | NEW |
1 // Karma configuration | 1 // Karma configuration |
2 // Generated on Mon Jul 21 2014 15:27:46 GMT-0700 (PDT) | 2 // Generated on Mon Jul 21 2014 15:27:46 GMT-0700 (PDT) |
3 | 3 |
4 module.exports = function(config) { | 4 module.exports = function(config) { |
5 config.set({ | 5 config.set({ |
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 12 matching lines...) Expand all Loading... |
23 files: [ | 23 files: [ |
24 'bower_components/platform/platform.js', | 24 'bower_components/platform/platform.js', |
25 'test/karma-loader.html', | 25 'test/karma-loader.html', |
26 'bower_components/chai/chai.js', | 26 'bower_components/chai/chai.js', |
27 'bower_components/sugar/release/sugar-full.development.js', | 27 'bower_components/sugar/release/sugar-full.development.js', |
28 {pattern: 'bower_components/**/*.{js,html,css,map}', included: false}, | 28 {pattern: 'bower_components/**/*.{js,html,css,map}', included: false}, |
29 'node_modules/mocha/mocha.js', | 29 'node_modules/mocha/mocha.js', |
30 'polymer-load-warning.html', | 30 'polymer-load-warning.html', |
31 {pattern: 'model/*.html', included: false}, | 31 {pattern: 'model/*.html', included: false}, |
32 {pattern: 'lib/*.html', included: false}, | 32 {pattern: 'lib/*.html', included: false}, |
| 33 'lib/test/*.html', |
33 'model/test/*.html', | 34 'model/test/*.html', |
34 'scripts/*.js', | 35 'scripts/*.js', |
35 {pattern: 'ui/*.html', included: false}, | 36 {pattern: 'ui/*.html', included: false}, |
36 'ui/test/*', | 37 'ui/test/*', |
37 ], | 38 ], |
38 | 39 |
39 // list of files to exclude | 40 // list of files to exclude |
40 exclude: [ | 41 exclude: [ |
41 'model/*tests.html', | 42 'model/*tests.html', |
42 'scripts/*tests.js', | 43 'scripts/*tests.js', |
(...skipping 30 matching lines...) Expand all Loading... |
73 // Continuous Integration mode | 74 // Continuous Integration mode |
74 // if true, Karma captures browsers, runs the tests and exits | 75 // if true, Karma captures browsers, runs the tests and exits |
75 singleRun: false, | 76 singleRun: false, |
76 | 77 |
77 plugins: [ | 78 plugins: [ |
78 'karma-mocha', | 79 'karma-mocha', |
79 'karma-chrome-launcher' | 80 'karma-chrome-launcher' |
80 ] | 81 ] |
81 }); | 82 }); |
82 }; | 83 }; |
OLD | NEW |