1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-04 11:10:05 +00:00

test(RequestClient): fix error handling

This commit is contained in:
Yury Shkoda
2021-12-21 11:40:27 +03:00
parent 098e7f8590
commit 2ebd6e11ba

View File

@@ -195,7 +195,7 @@ describe('pollJobState', () => {
expect((process as any).logger.info).toHaveBeenCalledTimes(4)
expect((process as any).logger.info).toHaveBeenNthCalledWith(
1,
'Polling job status...'
'Polling: /job/state'
)
expect((process as any).logger.info).toHaveBeenNthCalledWith(
2,
@@ -203,7 +203,7 @@ describe('pollJobState', () => {
)
expect((process as any).logger.info).toHaveBeenNthCalledWith(
3,
'Polling job status...'
'Polling: /job/state'
)
expect((process as any).logger.info).toHaveBeenNthCalledWith(
4,