1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

test: fix

This commit is contained in:
2021-07-16 12:32:48 +02:00
parent dd05258dd2
commit a429581089

View File

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