diff --git a/frontend/__tests__/page.test.tsx b/frontend/__tests__/page.test.tsx index 60c932acc2..04d77283e6 100644 --- a/frontend/__tests__/page.test.tsx +++ b/frontend/__tests__/page.test.tsx @@ -1,12 +1,14 @@ import '@testing-library/jest-dom' + import { render, screen } from '@testing-library/react' + import Page from '../app/page' describe('Page', () => { - it('renders the main element', () => { + it('renders the logo', () => { render() - const page = screen.getByRole('main') + const page = screen.getByRole('img') expect(page).toBeInTheDocument() })