forked from zyzhl/tradeshift-app-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.config.js
31 lines (30 loc) · 1.15 KB
/
karma.config.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
module.exports = function(config){
config.set({
basePath: '',
frameworks: ['jasmine'],
/* Important to have here all files related to the project.
Double check your dependencies in Angular module and HTML. */
files: [
'node_modules/angular/angular.min.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/angular-translate/dist/angular-translate.min.js',
'node_modules/angular-translate/dist/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js',
'https://d5wfroyti11sa.cloudfront.net/prod/client/ts-5.0.2-beta.2.min.js?internal',
'https://cdn.jsdelivr.net/lodash/4.14.0/lodash.min.js',
'browser/javascripts/app.js',
'browser/javascripts/home.controller.js',
'browser/tests/*.spec.js'
],
exclude: [],
preprocessors: {},
reporters: ['progress'],
port: 9876,
colors: true,
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
concurrency: Infinity
})
};