Skip to content

Commit

Permalink
Fix prettier errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Sterner authored and AJSterner committed Aug 28, 2024
1 parent 503ccd9 commit 1f8628a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/components/Profile/ProfileComponent.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ProfileComponent } from '@components/Profile';
import '@testing-library/jest-dom/extend-expect';
import createMatchMedia from '../../helpers/createMatchMedia';

import MockSignedInUserContext from '../../mocks/contexts/MockSignedInUserContext'
import MockSignedInUserContext from '../../mocks/contexts/MockSignedInUserContext';

const renderTest = (contactProfile = null) =>
render(
Expand Down Expand Up @@ -70,7 +70,7 @@ describe('ProfileComponent', () => {
});

it('renders no edit button for ProfileInputFields if contactProfile is not null', async () => {
const { queryByRole } = renderTest({})
const { queryByRole } = renderTest({});
await waitFor(() => {
const editButton = queryByRole('button', { name: 'Edit' });

Expand Down
3 changes: 2 additions & 1 deletion test/mocks/contexts/MockSignedInUserContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const mockSignedInUserContextMemo = {
const MockSignedInUserContext = ({ children }) => (
<SignedInUserContext.Provider value={mockSignedInUserContextMemo}>
{children}
</SignedInUserContext.Provider>)
</SignedInUserContext.Provider>
);

export default MockSignedInUserContext;
2 changes: 1 addition & 1 deletion test/pages/Profile.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { describe, expect, it, beforeEach, afterEach } from 'vitest';

import { Profile } from '@pages';

import MockSignedInUserContext from '../mocks/contexts/MockSignedInUserContext'
import MockSignedInUserContext from '../mocks/contexts/MockSignedInUserContext';

const queryClient = new QueryClient();

Expand Down

0 comments on commit 1f8628a

Please sign in to comment.