mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-17 17:10:05 +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,
|
config,
|
||||||
undefined,
|
undefined,
|
||||||
undefined,
|
undefined,
|
||||||
['output', 'file', 'data']
|
['file', 'data']
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
assertion: (response: any) => {
|
assertion: (response: any) => {
|
||||||
const responseKeys: any = Object.keys(response)
|
const responseKeys: any = Object.keys(response)
|
||||||
return (
|
return responseKeys.includes('file') && responseKeys.includes('output')
|
||||||
responseKeys.includes('file') &&
|
|
||||||
responseKeys.includes('output') &&
|
|
||||||
responseKeys.includes('data')
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user