kopia lustrzana https://github.com/Tldraw/Tldraw
14 wiersze
306 B
TypeScript
14 wiersze
306 B
TypeScript
import * as React from 'react'
|
|
import { ContextMenu } from './ContextMenu'
|
|
import { renderWithContext } from '~test'
|
|
|
|
describe('context menu', () => {
|
|
test('mounts component without crashing', () => {
|
|
renderWithContext(
|
|
<ContextMenu>
|
|
<div>Hello</div>
|
|
</ContextMenu>
|
|
)
|
|
})
|
|
})
|