-
Notifications
You must be signed in to change notification settings - Fork 6
/
Gruntfile.js
29 lines (28 loc) · 870 Bytes
/
Gruntfile.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
module.exports = function(grunt) {
grunt.initConfig({
connect: {
server: {
options: {
base: "",
port: 9999
}
}
},
'saucelabs-mocha': {
all: {
options: {
urls: ["http://127.0.0.1:9999/test/index.html"],
build: (new Date()).getTime(),
throttled: 3,
'max-duration': 360,
browsers: grunt.file.readJSON('browsers.json').browsers,
testname: "zanimo tests",
tags: ["master"]
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-saucelabs');
grunt.registerTask("test", ["connect", "saucelabs-mocha"]);
};