-
Notifications
You must be signed in to change notification settings - Fork 1
/
karma.conf.js
49 lines (41 loc) · 1 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
module.exports = function (config) {
var files = [
'test/vendor/object-assign-polyfill.js',
'test/vendor/prototype-bind-polyfill.js',
'test/vendor/string-fromcodepoint-polyfill.js',
'test/vendor/bluebird.js',
'test/vendor/jquery.js',
'dist/ig_screenshot.js',
'test/ig_screenshot/setup/*.js',
'test/ig_screenshot/*.js'
];
if (process.env.MINIFIED) {
files = [
'test/vendor/object-assign-polyfill.js',
'test/vendor/prototype-bind-polyfill.js',
'test/vendor/string-fromcodepoint-polyfill.js',
'test/vendor/bluebird.js',
'test/vendor/jquery.js',
'dist/ig_screenshot.min.js',
'test/ig_screenshot/setup/*.js',
'test/ig_screenshot/*.js'
];
}
config.set({
basePath: '',
frameworks: ['qunit'],
reporters: ['mocha'],
port: 9877,
colors: true,
logLevel: 'INFO',
autoWatch: false,
singleRun: true,
browsers: ['Chrome'],
proxies: {
'/dist/': '/base/dist/',
'/jspm_packages/': '/base/jspm_packages/',
'/test/': '/base/test/'
},
files: files
});
};