kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Revert "Fix useGroupsPath test"
This reverts commit 487604b15a
.
environments/review-groups-zod-1n4y95/deployments/2814
rodzic
a0c67c9b6f
commit
a9b79f72b4
|
@ -68,19 +68,6 @@ describe('useGroupsPath()', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should default to the "My Groups" page', async () => {
|
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);
|
const { result } = renderHook(useGroupsPath, undefined, store);
|
||||||
|
|
||||||
await waitFor(() => {
|
await waitFor(() => {
|
||||||
|
|
Ładowanie…
Reference in New Issue