Completed
Push — master ( b1781b...271dff )
by Christoph
08:40
created

karma.conf.js (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
// Karma configuration
2
// Generated on Tue Sep 01 2015 13:54:51 GMT+0200 (CEST)
3
4
module.exports = function(config) {
0 ignored issues
show
module does not seem to be defined.
Loading history...
5
	config.set({
6
		// frameworks to use
7
		// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
8
		frameworks: ['jasmine', 'requirejs'],
9
10
		// list of files / patterns to load in the browser
11
		files: [
12
			'js/vendor/jquery/dist/jquery.js',
13
			{pattern: 'js/*/*.js', included: false},
14
			{pattern: 'js/*.js', included: false},
15
			{pattern: 'js/templates/*.html', included: false},
16
			{pattern: 'js/vendor/backbone/backbone.js', included: false},
17
			{pattern: 'js/vendor/backbone.marionette/lib/backbone.marionette.js', included: false},
18
			{pattern: 'js/vendor/jquery/dist/jquery.js', included: false},
19
			{pattern: 'js/vendor/handlebars/handlebars.js', included: false},
20
			{pattern: 'js/vendor/text/text.js', included: false},
21
			{pattern: 'js/vendor/underscore/underscore.js', included: false},
22
			{pattern: 'js/tests/mocks/*.js', included: false},
23
			{pattern: 'js/tests/*.js', included: false},
24
			'js/tests/test-main.js'
25
		],
26
27
		// list of files to exclude
28
		exclude: [
29
			'js/require_config.js',
30
			'js/init.js'
31
		],
32
		// preprocess matching files before serving them to the browser
33
		// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
34
		preprocessors: {
35
		},
36
		// test results reporter to use
37
		// possible values: 'dots', 'progress'
38
		// available reporters: https://npmjs.org/browse/keyword/karma-reporter
39
		reporters: ['progress'],
40
		// web server port
41
		port: 9876,
42
		// enable / disable colors in the output (reporters and logs)
43
		colors: true,
44
		// level of logging
45
		// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
0 ignored issues
show
Line is too long.
Loading history...
46
		logLevel: config.LOG_INFO,
47
		// enable / disable watching file and executing tests whenever any file changes
48
		autoWatch: true,
49
		// start these browsers
50
		// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
51
		browsers: ['PhantomJS'],
52
		// Continuous Integration mode
53
		// if true, Karma captures browsers, runs the tests and exits
54
		singleRun: false
55
	});
56
};
57