Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
Fix a random test fail… (not critical)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien0102 committed Apr 12, 2020
1 parent 23f6324 commit bf8e1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Poll.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ describe("Poll", () => {
</RestfulProvider>,
);

await wait(() => expect(children.mock.calls.length).toBe(1));
await wait(() => expect(children.mock.calls.length > 0).toBe(true));
expect(onRequest).toBeCalledWith(request);
});

Expand Down

0 comments on commit bf8e1f2

Please sign in to comment.