mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
16 lines
424 B
TypeScript
16 lines
424 B
TypeScript
import React from 'react'
|
|
import { render } from '@testing-library/react'
|
|
import NotFound from './NotFound'
|
|
import { MemoryRouter } from 'react-router'
|
|
|
|
describe('NotFound', () => {
|
|
it('renders without crashing', () => {
|
|
const { container } = render(
|
|
<MemoryRouter>
|
|
<NotFound />
|
|
</MemoryRouter>
|
|
)
|
|
expect(container.firstChild).toBeInTheDocument()
|
|
})
|
|
})
|