mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-03 10:40:06 +00:00
fix: test case which check extra attributes on JES approach fixed
This commit is contained in:
@@ -161,16 +161,12 @@ export const basicTests = (
|
||||
config,
|
||||
undefined,
|
||||
undefined,
|
||||
['output', 'file', 'data']
|
||||
['file', 'data']
|
||||
)
|
||||
},
|
||||
assertion: (response: any) => {
|
||||
const responseKeys: any = Object.keys(response)
|
||||
return (
|
||||
responseKeys.includes('file') &&
|
||||
responseKeys.includes('output') &&
|
||||
responseKeys.includes('data')
|
||||
)
|
||||
return responseKeys.includes('file') && responseKeys.includes('output')
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user