|
1 | | -module.exports = function(config) { |
2 | | - config.set({ |
3 | | - |
4 | | - // base path, that will be used to resolve files and exclude |
5 | | - basePath: '', |
6 | | - |
7 | | - |
8 | | - // frameworks to use |
9 | | - frameworks: ['jasmine'], |
10 | | - |
11 | | - |
12 | | - // list of files / patterns to load in the browser |
13 | | - files: [ |
14 | | - 'lib/angular/angular.js', |
15 | | - 'lib/angular/angular-mocks.js', |
16 | | - 'lib/angular/angular-resource.js', |
17 | | - 'src/*.js', |
18 | | - 'test/*.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: false, |
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: ['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 | | - }); |
| 1 | +module.exports = function (config) { |
| 2 | + config.set({ |
| 3 | + |
| 4 | + // base path, that will be used to resolve files and exclude |
| 5 | + basePath: '', |
| 6 | + |
| 7 | + // frameworks to use |
| 8 | + frameworks: ['jasmine'], |
| 9 | + |
| 10 | + // list of files / patterns to load in the browser |
| 11 | + files: [ |
| 12 | + 'lib/angular/angular.js', |
| 13 | + 'lib/angular/angular-mocks.js', |
| 14 | + 'lib/angular/angular-resource.js', |
| 15 | + 'src/angular-spring-data-rest-module.js', |
| 16 | + 'src/angular-spring-data-rest-provider.js', |
| 17 | + 'src/angular-spring-data-rest-interceptor-provider.js', |
| 18 | + 'src/angular-spring-data-rest-utils.js', |
| 19 | + 'test/angular-spring-data-rest.helper.spec.js', |
| 20 | + 'test/*.spec.js' |
| 21 | + ], |
| 22 | + |
| 23 | + // list of files to exclude |
| 24 | + exclude: [ ], |
| 25 | + |
| 26 | + // test results reporter to use |
| 27 | + // possible values: 'dots', 'progress', 'junit', 'growl', 'coverage' |
| 28 | + reporters: ['progress'], |
| 29 | + |
| 30 | + // web server port |
| 31 | + port: 9876, |
| 32 | + |
| 33 | + // enable / disable colors in the output (reporters and logs) |
| 34 | + colors: true, |
| 35 | + |
| 36 | + // level of logging |
| 37 | + // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG |
| 38 | + logLevel: config.LOG_INFO, |
| 39 | + |
| 40 | + // enable / disable watching file and executing tests whenever any file changes |
| 41 | + autoWatch: false, |
| 42 | + |
| 43 | + // Start these browsers, currently available: |
| 44 | + // - Chrome |
| 45 | + // - ChromeCanary |
| 46 | + // - Firefox |
| 47 | + // - Opera |
| 48 | + // - Safari (only Mac) |
| 49 | + // - PhantomJS |
| 50 | + // - IE (only Windows) |
| 51 | + browsers: ['PhantomJS'], |
| 52 | + |
| 53 | + // If browser does not capture in given timeout [ms], kill it |
| 54 | + captureTimeout: 60000, |
| 55 | + |
| 56 | + // Continuous Integration mode |
| 57 | + // if true, it capture browsers, run tests and exit |
| 58 | + singleRun: false |
| 59 | + }); |
69 | 60 | }; |
0 commit comments