Fix useGroupsPath test

develop^2
Alex Gleason 2023-03-10 10:56:00 -06:00
rodzic be9d922047
commit cf541e83b3
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

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