Fix useGroupsPath test

This commit is contained in:
Alex Gleason 2023-03-13 11:54:22 -05:00
parent 5278c8eb0f
commit 487604b15a
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

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