Skip to content

Commit

Permalink
改行追加
Browse files Browse the repository at this point in the history
  • Loading branch information
konti-kun committed Dec 9, 2024
1 parent 7a0c6c2 commit b2101a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/firestore/_tests/useCollectionDataOnce.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ describe('useCollectionDataOnce', async () => {
await setTimeout(1000);
expect(result.current.data.length).toBe(2);
});

it('got an error when the query is invalid', async () => {
const { result, waitFor } = renderHook(() => useCollectionDataOnce(animalsRef(), { throwError: false }));
await waitFor(() => expect(result.current.loading).toBe(false));
Expand Down

0 comments on commit b2101a9

Please sign in to comment.