Skip to content

Commit

Permalink
fix: resolve fe test
Browse files Browse the repository at this point in the history
  • Loading branch information
shishirbychapur committed Sep 19, 2024
1 parent a1f8d4a commit 2464f15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/__tests__/page.test.tsx
Original file line number Diff line number Diff line change
@@ -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(<Page />)

const page = screen.getByRole('main')
const page = screen.getByRole('img')

expect(page).toBeInTheDocument()
})
Expand Down

0 comments on commit 2464f15

Please sign in to comment.