Skip to content

Commit

Permalink
Fix potential failure in test, adjust styling for edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
mjac0bs committed Jan 11, 2024
1 parent f92a3a6 commit 0d33960
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,6 @@ export const LandingHeader = ({
};

const Actions = styled('div')(({ theme }) => ({
marginLeft: `${theme.spacing(2)}`,
display: 'flex',
marginLeft: theme.spacing(2),
}));
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ describe('SwitchAccountDrawer', () => {

it('should display a list of child accounts', async () => {
server.use(
rest.get('*/account/users/*', (req, res, ctx) => {
return res(ctx.json(accountUserFactory.build({ user_type: 'parent' })));
}),
rest.get('*/account/child-accounts', (req, res, ctx) => {
return res(
ctx.json(
Expand Down

0 comments on commit 0d33960

Please sign in to comment.