mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
13 lines
354 B
TypeScript
13 lines
354 B
TypeScript
|
import React from 'react'
|
||
|
import { render } from '@testing-library/react'
|
||
|
import WrapPageElement from './wrapPageElement'
|
||
|
|
||
|
describe('wrapPageElement', () => {
|
||
|
it('renders correctly', () => {
|
||
|
const { container } = render(
|
||
|
<WrapPageElement element={'Hello'} props={'hello'} />
|
||
|
)
|
||
|
expect(container.firstChild).toBeInTheDocument()
|
||
|
})
|
||
|
})
|