Fix useGroupsPath test

environments/review-groups-zod-1n4y95/deployments/2814
Alex Gleason 2 years ago
parent 5278c8eb0f
commit 487604b15a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -68,6 +68,19 @@ describe('useGroupsPath()', () => {
});
test('should default to the "My Groups" page', async () => {
const store = {
entities: {
Groups: {
store: {
'1': normalizeGroup({}),
},
lists: {
'': new Set(['1']),
},
},
},
};
const { result } = renderHook(useGroupsPath, undefined, store);
await waitFor(() => {

Loading…
Cancel
Save