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