1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-12-29 16:17:52 +01:00
blowfish/tests/Layout.test.jsx

12 lines
327 B
React
Raw Normal View History

import React from 'react'
2020-02-25 04:10:06 +01:00
import { render, wait } from '@testing-library/react'
import Layout from '../src/renderer/Layout'
describe('Layout', () => {
2020-02-25 04:10:06 +01:00
it('renders correctly', async () => {
const { container } = render(<Layout>Hello</Layout>)
2020-02-25 04:10:06 +01:00
await wait()
expect(container.firstChild).toBeInTheDocument()
})
})