1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-08 21:10:05 +00:00

chore(*): clean up, address review comments

This commit is contained in:
Krishna Acondy
2021-02-02 08:42:01 +00:00
parent 36cfaee5db
commit 60a1f84604
5 changed files with 17 additions and 33 deletions

View File

@@ -28,9 +28,9 @@ export const sasjsRequestTests = (adapter: SASjs): TestSuite => ({
test: async () => {
return adapter
.request("common/makeErr", data, { debug: true })
.catch((err) => {
let sasRequests = adapter.getSasRequests();
let makeErrRequest: any =
.catch(() => {
const sasRequests = adapter.getSasRequests();
const makeErrRequest: any =
sasRequests.find((req) => req.serviceLink.includes("makeErr")) ||
null;