mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-30 13:41:54 +02:00
* rainbowkit setup and web3 cleanup * finalize setup * make transaction work * switch to @kremalicious/react-feather * update tests * remove @loadable/component * update test
16 lines
314 B
TypeScript
16 lines
314 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"
|
|
/>
|
|
)
|
|
})
|
|
})
|