Skip to content

Commit

Permalink
tmp | js_only.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolad committed Apr 20, 2020
1 parent 06c6223 commit e0d01f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe('useFetchPrices', () => {

await waitForNextUpdate({ timeout }); // wait for response

expect(result.current.error).toBeDefined();
expect(result.current.data).toBeUndefined();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe('useFetchTickets', () => {

await waitForChange(() => result.current, { timeout }); // wait for response

expect(result.current.error).toBeDefined();
expect(result.current.data).toBeUndefined();
});

Expand Down

0 comments on commit e0d01f5

Please sign in to comment.