12 lines
358 B
TypeScript
12 lines
358 B
TypeScript
import { render, screen } from '@testing-library/react'
|
|
import { describe, expect, it } from 'vitest'
|
|
import DashboardPage from '@/pages/DashboardPage'
|
|
|
|
describe('DashboardPage', () => {
|
|
it('should_display_app_version_when_rendered', () => {
|
|
render(<DashboardPage />)
|
|
|
|
expect(screen.getByText(/version \d+\.\d+\.\d+/i)).toBeInTheDocument()
|
|
})
|
|
})
|