mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-28 16:48:00 +02:00
11 lines
314 B
TypeScript
11 lines
314 B
TypeScript
import { describe, test, expect } from 'vitest'
|
|
import { render, screen } from '@testing-library/react'
|
|
import { Preview } from './Preview'
|
|
|
|
describe('Preview component', () => {
|
|
test('renders without crashing', () => {
|
|
render(<Preview />)
|
|
expect(screen.getByText('You are')).toBeInTheDocument()
|
|
})
|
|
})
|