honigle/src/App.test.tsx

10 lines
261 B
TypeScript
Raw Normal View History

2022-01-16 15:11:27 +04:00
import React from 'react'
import { render, screen } from '@testing-library/react'
import App from './App'
2022-01-26 21:16:02 +09:00
test('renders App component', () => {
2022-01-16 15:11:27 +04:00
render(<App />)
2022-01-26 21:15:10 +09:00
const linkElement = screen.getByText(/Not Wordle/)
2022-01-16 15:11:27 +04:00
expect(linkElement).toBeInTheDocument()
})