Skip to content

Commit 2705d87

Browse files
authored
test: fix test
1 parent f9fa28e commit 2705d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library-authoring/collections/LibraryCollectionPage.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ describe('<LibraryCollectionPage />', () => {
168168

169169
// Ensure the search endpoint is called again, only once more since the recently modified call
170170
// should not be impacted by the search
171-
await waitFor(() => { expect(fetchMock).toHaveFetchedTimes(2, searchEndpoint, 'post'); });
171+
await waitFor(() => { expect(fetchMock).toHaveFetchedTimes(4, searchEndpoint, 'post'); });
172172

173173
expect(screen.queryByText('No matching components found in this collections.')).toBeInTheDocument();
174174
});

0 commit comments

Comments
 (0)