diff --git a/app/soapbox/hooks/__tests__/useGroupsPath.test.ts b/app/soapbox/hooks/__tests__/useGroupsPath.test.ts index d2ffb2452..de123d211 100644 --- a/app/soapbox/hooks/__tests__/useGroupsPath.test.ts +++ b/app/soapbox/hooks/__tests__/useGroupsPath.test.ts @@ -62,6 +62,19 @@ describe('useGroupsPath()', () => { }); test('should default to the discovery page', async () => { + const store = { + entities: { + Groups: { + store: { + '1': normalizeGroup({}), + }, + lists: { + '': new Set(['1']), + }, + }, + }, + }; + const { result } = renderHook(useGroupsPath, undefined, store); await waitFor(() => {