@bbc/http-transport
Advanced tools
Comparing version 3.5.5 to 3.5.6
{ | ||
"name": "@bbc/http-transport", | ||
"version": "3.5.5", | ||
"version": "3.5.6", | ||
"description": "A flexible, modular REST client built for ease-of-use and resilience.", | ||
@@ -45,5 +45,5 @@ "main": "index.js", | ||
"jsdoc": "^3.5.5", | ||
"mocha": "^5.2.0", | ||
"nock": "^9.0.4", | ||
"nyc": "^13.3.0", | ||
"mocha": "^7.2.0", | ||
"nock": "^11.9.1", | ||
"nyc": "^15.1.0", | ||
"sinon": "^1.15.3" | ||
@@ -59,2 +59,6 @@ }, | ||
}, | ||
"mocha": { | ||
"recursive": true, | ||
"exit": true | ||
}, | ||
"eslintConfig": { | ||
@@ -61,0 +65,0 @@ "extends": "iplayer-es6", |
@@ -109,3 +109,3 @@ 'use strict'; | ||
.get('/') | ||
.socketDelay(1000) | ||
.delay(1000) | ||
.reply(200, simpleResponseBody); | ||
@@ -112,0 +112,0 @@ |
@@ -53,3 +53,3 @@ 'use strict'; | ||
.times(number) | ||
.socketDelay(10000) | ||
.delay(10000) | ||
.reply(200); | ||
@@ -462,3 +462,3 @@ api[httpMethod](path).reply(successCode); | ||
.get('/') | ||
.socketDelay(1000) | ||
.delay(1000) | ||
.reply(200, simpleResponseBody); | ||
@@ -577,3 +577,3 @@ | ||
.get(path) | ||
.socketDelay(1000) | ||
.delay(1000) | ||
.reply(200, responseBody); | ||
@@ -580,0 +580,0 @@ |
@@ -180,3 +180,3 @@ 'use strict'; | ||
.get('/') | ||
.socketDelay(500) | ||
.delay(500) | ||
.reply(200, simpleResponseBody); | ||
@@ -233,3 +233,3 @@ | ||
.get('/') | ||
.socketDelay(500) | ||
.delay(500) | ||
.reply(200, simpleResponseBody); | ||
@@ -236,0 +236,0 @@ |
393540
93