2019-09-16 14:53:19 +02:00
|
|
|
import React from 'react'
|
2019-09-16 17:07:07 +02:00
|
|
|
import { render } from '@testing-library/react'
|
2019-09-16 14:53:19 +02:00
|
|
|
import App from './App'
|
2019-09-16 11:28:08 +02:00
|
|
|
|
2019-09-16 17:07:07 +02:00
|
|
|
describe('App', () => {
|
2019-09-16 19:01:33 +02:00
|
|
|
it('renders without crashing', () => {
|
2019-09-16 17:07:07 +02:00
|
|
|
const { container } = render(<App />)
|
|
|
|
expect(container.firstChild).toBeInTheDocument()
|
|
|
|
})
|
2019-09-16 14:53:19 +02:00
|
|
|
})
|