-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
48 lines (36 loc) · 1.35 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
43
44
45
46
47
48
// Karma configuration
// Generated on Fri Sep 08 2017 15:16:58 GMT+0530 (India Standard Time)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: './app',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: [
'bower_components/angular/angular.js',
'bower_components/angular-route/angular-route.js',
'bower_components/angular-mocks/angular-mocks.js',
'core/*.js',
'integer-to-roman/integer-to-roman.js',
'integer-to-roman/integer-to-roman.controller.js',
'integer-to-roman/integer-to-roman.controller.spec.js',
'roman-to-integer/roman-to-integer.js',
'roman-to-integer/roman-to-integer.controller.js',
'roman-to-integer/roman-to-integer.controller.spec.js'
],
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
reporters: ['spec'],
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],
plugins: [
'karma-chrome-launcher',
'karma-jasmine',
'karma-junit-reporter',
'karma-spec-reporter'
],
})
}