Skip to content

Commit

Permalink
fix failing group management test
Browse files Browse the repository at this point in the history
  • Loading branch information
benwaples committed Feb 13, 2024
1 parent 4376a77 commit 241f33c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmd/ui/src/views/GroupManagement/GroupManagement.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ describe('GroupManagement', () => {
const setup = async () =>
await act(async () => {
const user = userEvent.setup();
const screen = render(<GroupManagement />);
const screen = render(<GroupManagement />, {
initialState: {
global: {
options: { domain: {} },
},
},
});
return { user, screen };
});

Expand Down

0 comments on commit 241f33c

Please sign in to comment.