forked from webcss/angular-indexedDB
-
Notifications
You must be signed in to change notification settings - Fork 49
/
karma.conf.js
31 lines (31 loc) · 853 Bytes
/
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
// Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/sinonjs/sinon.js',
'bower_components/jasmine-sinon/lib/jasmine-sinon.js',
'src/*.coffee',
'test/mock/**/*.js',
'test/spec/**/*.coffee',
'test/spec/**/*.js'
],
exclude: [],
port: 8080,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
frameworks: ['jasmine'],
plugins: [
'karma-jasmine',
'karma-coffee-preprocessor',
'karma-chrome-launcher'
],
singleRun: false,
preprocessors: { '**/*.coffee': ['coffee'] }
});
};