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

chore(test): fix long poll count

This commit is contained in:
Krishna Acondy
2021-07-24 00:12:11 +01:00
parent 7cf681bea3
commit 87e2edbd6c

View File

@@ -311,7 +311,7 @@ const mockLongPoll = () => {
return Promise.resolve({ result: mockJob, etag: '', status: 200 })
}
return Promise.resolve({
result: count <= 101 ? 'running' : 'completed',
result: count <= 102 ? 'running' : 'completed',
etag: '',
status: 200
})