-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.coffee
50 lines (36 loc) · 1.12 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Karma configuration
# Generated on Fri Nov 28 2014 16:23:22 GMT+0100 (CET)
module.exports = (config) ->
config.set
basePath: ''
frameworks: ['mocha', 'requirejs', 'chai', 'sinon']
files: [
'./test-main.coffee',
{pattern: 'src/*.coffee', included: false},
{pattern: 'test/*.coffee', included: false}
{pattern: 'bower_components/*/*.js', included: false}
{pattern: 'bower_components/jquery/dist/jquery.js', included: false}
]
reporters: ['progress', 'html']
port: 9876
colors: true
logLevel: config.LOG_DEBUG
autoWatch: true
browsers: ['Chrome']
singleRun: false
coverageReporter:
dir: 'coverage'
reporters: [
{type: 'cobertura', subdir: 'report-cobertura'}
{type: 'html', subdir: 'report-html'}
{type: 'lcovonly', subdir: 'report-lcov'}
{type: 'text-summary'}
]
coffeePreprocessor:
options:
bare: true
sourceMap: true
preprocessors:
'test/*.coffee': ['coffee', 'sourcemap']
'test-main.coffee': ['coffee', 'sourcemap']
'src/*.coffee': ['coffee', 'sourcemap']