Skip to content

Commit

Permalink
Merge pull request sixfeetup#262 from sedatbasar/sbasar/200-add-unit-…
Browse files Browse the repository at this point in the history
…test-to-fe

Adds vitest dependencies and test
  • Loading branch information
sedatbasar authored Jul 4, 2024
2 parents 6427763 + 064d14d commit 3aa6cf8
Show file tree
Hide file tree
Showing 4 changed files with 2,643 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { expect, test } from 'vitest'
import { render, screen } from '@testing-library/react'
import AboutPage from '../pages/about'

test('AboutPage', () => {
render(<AboutPage />)
expect(screen.getByRole('heading', { level: 1, name: 'About Page' })).toBeDefined()
})
Loading

0 comments on commit 3aa6cf8

Please sign in to comment.