mirror of
https://github.com/kremalicious/ipfs.git
synced 2024-06-17 18:03:28 +02:00
11 lines
307 B
TypeScript
11 lines
307 B
TypeScript
|
import React from 'react'
|
||
|
import { render } from '@testing-library/react'
|
||
|
import Loader from '../components/Loader'
|
||
|
|
||
|
describe('Loader', () => {
|
||
|
it('renders without crashing', () => {
|
||
|
const { container } = render(<Loader message="Hello" />)
|
||
|
expect(container.firstChild).toBeInTheDocument()
|
||
|
})
|
||
|
})
|