-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
40 lines (32 loc) · 830 Bytes
/
index.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
var perfjankie = require('perfjankie');
perfjankie({
url: "http://localhost:8080",
name: "Perfjankie Button",
suite: "Button",
time: new Date().getTime(),
run: "commit#" + new Date().getTime(),
browsers: [{
browserName: "chrome"
}],
selenium: {
hostname: "localhost",
port: 4444
},
log: {
fatal: console.log.bind(console, 'fatal:'),
error: console.log.bind(console, 'error:'),
warn: console.log.bind(console, 'warn:'),
info: console.log.bind(console, 'info:'),
debug: console.log.bind(console, 'debug:'),
trace: console.log.bind(console, 'trace:')
},
couch: {
server: 'http://localhost:5984',
database: 'perfjankie-demo',
updateSite: true,
onlyUpdateSite: false
},
callback: function(err, res) {
if (err) console.log('err:', err);
}
});