Launch the test server with coverage
This commit is contained in:
+1
-17
@@ -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) {
|
||||
|
||||
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"serverPort": "auto",
|
||||
"googleAnalyticsId": "",
|
||||
|
||||
"authorizedKeys": {
|
||||
"1234567890": "contact@gaelmetais.com"
|
||||
},
|
||||
"maxAnonymousRunsPerDay": 10,
|
||||
"maxAnonymousCallsPerDay": 1000
|
||||
}
|
||||
Reference in New Issue
Block a user