Launch the test server with coverage

This commit is contained in:
Gaël Métais
2014-12-13 12:11:33 +01:00
parent 0da2ad0c10
commit 3ad6cdef51
6 changed files with 53 additions and 25 deletions
+1 -17
View File
@@ -66,7 +66,7 @@ describe('api', function() {
});
});
it('should accept up to 24 anonymous runs to the API', function(done) {
it('should accept up to 10 anonymous runs to the API', function(done) {
this.timeout(15000);
function launchRun() {
@@ -96,13 +96,6 @@ describe('api', function() {
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(function(response, body) {
@@ -115,15 +108,6 @@ describe('api', function() {
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(launchRun)
.then(function(response, body) {