9 lines
270 B
Plaintext
9 lines
270 B
Plaintext
|
import { render, screen } from '@testing-library/react'
|
||
|
import HomePage from '../../pages/HomePage'
|
||
|
|
||
|
test('renders hello world message', () => {
|
||
|
render(<HomePage />)
|
||
|
const greetings = screen.getByText(/Hello world/i)
|
||
|
expect(greetings).toBeInTheDocument()
|
||
|
})
|