-
Notifications
You must be signed in to change notification settings - Fork 76
/
karma.conf.js
57 lines (44 loc) · 1.41 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Karma configuration file
//
// For all available config options and default values, see:
// https://github.com/karma-runner/karma/blob/stable/lib/config.js#L54
// base path, that will be used to resolve files and exclude
basePath = '';
// list of files / patterns to load in the browser
files = [
'bower_components/es5-shim/es5-shim.js',
'bower_components/es5-shim/es5-sham.js',
// frameworks
JASMINE,
JASMINE_ADAPTER,
REQUIRE,
REQUIRE_ADAPTER,
// loaded without require
'bower_components/jquery/jquery.js',
'bower_components/jasmine-jquery/lib/jasmine-jquery.js',
'bower_components/jasmine-flight/lib/jasmine-flight.js',
// loaded with require
{pattern: 'bower_components/flight/**/*.js', included: false},
{pattern: 'bower_components/mustache/**/*.js', included: false},
{pattern: 'app/**/*.js', included: false},
{pattern: 'test/fixtures/**/*.html', included: false},
{pattern: 'test/spec/**/*.js', included: false},
'test/test-main.js'
];
// list of files to exclude
exclude = [
];
// use dots reporter, as travis terminal does not support escaping sequences
reporters = [
'dots'
];
// enable / disable watching file and executing tests whenever any file changes
// CLI --auto-watch --no-auto-watch
autoWatch = true;
// start these browsers
browsers = [
'Chrome'
];
// auto run tests on start (when browsers are captured) and exit
// CLI --single-run --no-single-run
singleRun = false;