fixed tests
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Urban Modig
2025-10-09 19:10:48 +02:00
parent 13161fb56c
commit fa613adde5
4 changed files with 26 additions and 4 deletions

View File

@ -0,0 +1,8 @@
import { render, screen } from '@testing-library/react'
import { DashboardPage } from '../DashboardPage'
import { expect, test } from 'vitest'
test('renders dashboard headline', () => {
render(<DashboardPage />)
expect(screen.getByText(/Välkommen till HemHub/i)).toBeInTheDocument()
})