Tldraw/packages/tldraw/src/components/ToolsPanel/ToolsPanel.test.tsx

10 wiersze
271 B
TypeScript
Czysty Zwykły widok Historia

2021-08-14 15:46:21 +00:00
import * as React from 'react'
import { ToolsPanel } from './ToolsPanel'
2021-08-14 16:17:29 +00:00
import { renderWithContext } from '~test'
2021-08-14 15:46:21 +00:00
describe('tools panel', () => {
2021-08-16 07:49:31 +00:00
test('mounts component without crashing', () => {
renderWithContext(<ToolsPanel onBlur={() => void null} />)
2021-08-14 15:46:21 +00:00
})
})