-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.coffee
36 lines (29 loc) · 1 KB
/
karma.conf.coffee
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
module.exports = (config) ->
config.set
basePath: './'
browsers: [
'PhantomJS'
# 'Chrome' # Enable this when actually want to debug in chrome
]
frameworks: [ 'mocha', 'chai' ]
reporters: [ 'progress' ]
# browserify:
# transform: [ 'coffeeify', 'debowerify']
# watch: false # Watches dependencies only (Karma watches the tests)
files: [
# Jquery for testing only
'./app/vendor/jquery/dist/jquery.js'
# Library files needed to be in global scope
'./app/vendor/angular/angular.js'
'./app/vendor/angular-mocks/angular-mocks.js'
'./app/vendor/angular-resource/angular-resource.js'
'./app/vendor/angular-ui-router/release/angular-ui-router.js'
'./app/vendor/angular-classy/angular-classy.js'
'./app/vendor/angular-sanitize/angular-sanitize.js'
# Init the actual tests
'./test/tmp/test-bundle.js'
]
preprocessors:
'./test/**/*.coffee': [ 'coffee' ]
coverageReporter:
type: 'text'