mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-16 08:30:07 +00:00
style: lint
This commit is contained in:
@@ -155,11 +155,22 @@ export const basicTests = (
|
|||||||
useComputeApi: false
|
useComputeApi: false
|
||||||
}
|
}
|
||||||
|
|
||||||
return await adapter.request('common/sendArr', stringData, config, undefined, undefined, ['output', 'file', 'data'])
|
return await adapter.request(
|
||||||
|
'common/sendArr',
|
||||||
|
stringData,
|
||||||
|
config,
|
||||||
|
undefined,
|
||||||
|
undefined,
|
||||||
|
['output', 'file', 'data']
|
||||||
|
)
|
||||||
},
|
},
|
||||||
assertion: (response: any) => {
|
assertion: (response: any) => {
|
||||||
const responseKeys: any = Object.keys(response)
|
const responseKeys: any = Object.keys(response)
|
||||||
return responseKeys.includes('file') && responseKeys.includes('output') && responseKeys.includes('data')
|
return (
|
||||||
|
responseKeys.includes('file') &&
|
||||||
|
responseKeys.includes('output') &&
|
||||||
|
responseKeys.includes('data')
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user