forked from angular/material
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
42 lines (36 loc) · 1.31 KB
/
karma.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = function(config) {
config.set({
basePath: __dirname + '/..',
frameworks: ['jasmine'],
files: [
// Include jQuery just for its dom helpers for testing, eg el.trigger()
'bower_components/jquery/dist/jquery.js',
'bower_components/angular/angular.js',
'bower_components/angular-animate/angular-animate.js',
'bower_components/angular-aria/angular-aria.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/hammerjs/hammer.js',
'config/test-utils.js',
'src/core/**/*.js',
'src/components/*/*.js',
'src/services/*.js',
'src/services/*/*.js' // Don't put demos in the tests
],
port: 9876,
reporters: ['progress'],
colors: true,
// Continuous Integration mode
// enable / disable watching file and executing tests whenever any file changes
autoWatch: false,
singleRun: false,
// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera (has to be installed with `npm install karma-opera-launcher`)
// - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`)
// - PhantomJS
// - IE (only Windows; has to be installed with `npm install karma-ie-launcher`)
browsers: ['Chrome']
});
};