mirror of
https://github.com/kremalicious/ipfs.git
synced 2024-12-29 08:07:47 +01:00
11 lines
308 B
TypeScript
11 lines
308 B
TypeScript
import React from 'react'
|
|
import { render, screen } from '@testing-library/react'
|
|
import Loader from '../src/components/Loader'
|
|
|
|
describe('Loader', () => {
|
|
it('renders without crashing', async () => {
|
|
render(<Loader message="Hello" />)
|
|
expect(screen.getByText('Hello')).toBeInTheDocument()
|
|
})
|
|
})
|