diff --git a/test/components/Profile/ProfileComponent.test.jsx b/test/components/Profile/ProfileComponent.test.jsx index 15bde2b2..bcc7bedc 100644 --- a/test/components/Profile/ProfileComponent.test.jsx +++ b/test/components/Profile/ProfileComponent.test.jsx @@ -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( @@ -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' }); diff --git a/test/mocks/contexts/MockSignedInUserContext.jsx b/test/mocks/contexts/MockSignedInUserContext.jsx index ea596a2f..3f5e16b7 100644 --- a/test/mocks/contexts/MockSignedInUserContext.jsx +++ b/test/mocks/contexts/MockSignedInUserContext.jsx @@ -26,6 +26,7 @@ const mockSignedInUserContextMemo = { const MockSignedInUserContext = ({ children }) => ( {children} - ) + +); export default MockSignedInUserContext; diff --git a/test/pages/Profile.test.jsx b/test/pages/Profile.test.jsx index cf501e06..3034e440 100644 --- a/test/pages/Profile.test.jsx +++ b/test/pages/Profile.test.jsx @@ -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();