11 lines
298 B
React
11 lines
298 B
React
|
import React from 'react'
|
||
|
import { render } from '@testing-library/react'
|
||
|
import Layout from '../src/renderer/Layout'
|
||
|
|
||
|
describe('Layout', () => {
|
||
|
it('renders correctly', () => {
|
||
|
const { container } = render(<Layout>Hello</Layout>)
|
||
|
expect(container.firstChild).toBeInTheDocument()
|
||
|
})
|
||
|
})
|