Fix useGroupsPath test

develop^2
Alex Gleason 2023-03-13 11:54:22 -05:00
rodzic 5278c8eb0f
commit 487604b15a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

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