forked from kirkas/Ascensor.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
92 lines (80 loc) · 1.88 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [{
pattern: 'test/fixtures/**/*.html',
served: true,
included: false
},
'components/jquery/jquery.js',
'components/jasmine-jquery/lib/jasmine-jquery.js',
'dist/jquery.ascensor.js',
'test/helpers/**/*Helper.js',
'test/**/*Spec.js'
],
preprocessors: [{
'test/fixtures/**/*.html': ''
}],
reporters: ['progress', 'unicorn'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browserStack: {
username: 'logalley',
accessKey: '79nSOMotfVkd9AOVOcZY',
startTunnel: true
},
customLaunchers: {
android_old: {
base: 'BrowserStack',
os: 'android',
os_version: '2.3',
device: 'Samsung Galaxy S II'
},
android_latest: {
base: 'BrowserStack',
os: 'android',
os_version: '4.1',
device: 'Samsung Galaxy S III'
},
ios_6: {
base: 'BrowserStack',
device: 'iPhone 5',
os: 'ios',
os_version: '6.0'
},
ios_7: {
base: 'BrowserStack',
device: 'iPhone 5S',
os: 'ios',
os_version: '7.0'
},
IE_8: {
base: 'BrowserStack',
browser: 'ie',
browser_version: '8.0',
os: 'Windows',
os_version: 'XP'
},
IE_9: {
base: 'BrowserStack',
browser: 'ie',
browser_version: '9.0',
os: 'Windows',
os_version: '7'
},
IE_10: {
base: 'BrowserStack',
browser: 'ie',
browser_version: 'latest',
os: 'Windows',
os_version: '8'
},
},
browsers: ['Chrome', 'ChromeCanary', 'Firefox', 'Opera', 'Safari', 'PhantomJS'],
captureTimeout: 60000,
singleRun: true
});
};