1
0
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:
2021-06-14 23:21:17 +05:00
parent c32258eb3c
commit 51ac6b052b

View File

@@ -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')
}
}
]