Skip to content

Commit

Permalink
chore: dont expect done job status, just expect any valid status
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut committed Oct 19, 2023
1 parent d4f6bef commit a9ffa77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rest-client/src/tools/addonJobPoller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('addonJobPoller', () => {
expect(onStatus.mock.calls.length).toBeGreaterThanOrEqual(1)
expect(onStatus.mock.lastCall).toEqual([
expect.objectContaining({
status: AddonExecutionStatus.DONE
status: expect.toBeOneOf(Object.values(AddonExecutionStatus))
})
])
})
Expand Down

0 comments on commit a9ffa77

Please sign in to comment.