mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-06 12:10:04 +00:00
test(RequestClient): fix error handling
This commit is contained in:
@@ -195,7 +195,7 @@ describe('pollJobState', () => {
|
|||||||
expect((process as any).logger.info).toHaveBeenCalledTimes(4)
|
expect((process as any).logger.info).toHaveBeenCalledTimes(4)
|
||||||
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
||||||
1,
|
1,
|
||||||
'Polling job status...'
|
'Polling: /job/state'
|
||||||
)
|
)
|
||||||
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
||||||
2,
|
2,
|
||||||
@@ -203,7 +203,7 @@ describe('pollJobState', () => {
|
|||||||
)
|
)
|
||||||
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
||||||
3,
|
3,
|
||||||
'Polling job status...'
|
'Polling: /job/state'
|
||||||
)
|
)
|
||||||
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
expect((process as any).logger.info).toHaveBeenNthCalledWith(
|
||||||
4,
|
4,
|
||||||
|
|||||||
Reference in New Issue
Block a user