Initialize frontend.
This commit is contained in:
parent
75ad3c2182
commit
c2c1d1c8ed
25 changed files with 8397 additions and 4 deletions
10
frontend/app/routes/home.test.tsx
Normal file
10
frontend/app/routes/home.test.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { render, screen } from '@testing-library/react'
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import Home from './home'
|
||||
|
||||
describe('Home component', () => {
|
||||
it('should render welcome component', () => {
|
||||
render(<Home />)
|
||||
expect(screen.getByText(/React Router/i)).toBeInTheDocument()
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue