forked from czapkowicz/angular-ui-router-uib-modal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
40 lines (31 loc) · 856 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
32
33
34
35
36
37
38
39
40
// Karma configuration file
module.exports = function (karma) {
var files = require('./files.conf');
karma.set({
// base path, that will be used to resolve files and exclude
basePath: '.',
frameworks: ['jasmine', 'karma-typescript'],
// list of files / patterns to load in the browser
files: [].concat(files.libs, files.src, files.test),
preprocessors: {
"**/*.ts": ["karma-typescript"]
},
karmaTypescriptConfig: {
bundlerOptions: {
addNodeGlobals: false
}
},
reporters: ["progress", "karma-typescript"],
// level of logging
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
logLevel: karma.LOG_DEBUG,
// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera
// - Safari
// - PhantomJS
browsers: [ 'Chrome' ]
})
};