Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com> Co-committed-by: dev_agent <dev_agent@cubecraftlabs.com>
16 lines
412 B
TypeScript
16 lines
412 B
TypeScript
import { render, screen } from '@testing-library/react'
|
|
import { MemoryRouter } from 'react-router'
|
|
import { describe, expect, it } from 'vitest'
|
|
import App from './App.tsx'
|
|
|
|
describe('App', () => {
|
|
it('renders the MealQuest shell', () => {
|
|
render(
|
|
<MemoryRouter>
|
|
<App />
|
|
</MemoryRouter>,
|
|
)
|
|
expect(screen.getByRole('heading', { name: 'MealQuest' })).toBeInTheDocument()
|
|
})
|
|
})
|