wiremock-rest-client
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -24,3 +24,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'settings'), { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'settings'), { | ||
method: 'POST', | ||
@@ -36,3 +36,3 @@ body: JSON.stringify(delayDefinition) | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'reset'), { method: 'POST' }); | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'reset'), { method: 'POST' }); | ||
}); | ||
@@ -45,3 +45,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(`${this.baseUri}/`, 'shutdown'), { method: 'POST' }); | ||
return HttpUtil_1.HttpUtil.fetch(url_1.resolve(this.baseUri, 'shutdown'), { method: 'POST' }); | ||
}); | ||
@@ -48,0 +48,0 @@ } |
{ | ||
"name": "wiremock-rest-client", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Lightweight REST client to interact with a running WireMock server", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
52298