mirror of https://github.com/kremalicious/blog.git
15 lines
313 B
TypeScript
15 lines
313 B
TypeScript
|
import React from 'react'
|
||
|
import { render } from '@testing-library/react'
|
||
|
import Alert from './Alert'
|
||
|
|
||
|
describe('Alert', () => {
|
||
|
it('renders without crashing', async () => {
|
||
|
render(
|
||
|
<Alert
|
||
|
message={{ status: 'loading', text: 'Loading' }}
|
||
|
transactionHash="0xxxx"
|
||
|
/>
|
||
|
)
|
||
|
})
|
||
|
})
|