Fix useGroupsPath test

This commit is contained in:
Alex Gleason 2023-03-10 10:56:00 -06:00
parent be9d922047
commit cf541e83b3
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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(() => {