mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-28 16:48:00 +02:00
15 lines
319 B
TypeScript
15 lines
319 B
TypeScript
import { render } from '@testing-library/react'
|
|
import { describe, it } from 'vitest'
|
|
import Alert from './Alert'
|
|
|
|
describe('Alert', () => {
|
|
it('renders without crashing', () => {
|
|
render(
|
|
<Alert
|
|
message={{ status: 'loading', text: 'Loading' }}
|
|
transactionHash="0xxxx"
|
|
/>
|
|
)
|
|
})
|
|
})
|