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

10 wiersze
319 B
TypeScript
Czysty Zwykły widok Historia

2021-08-14 15:46:21 +00:00
import * as React from 'react'
import { ToolsPanel } from './ToolsPanel'
import { renderWithContext, renderWithIntlProvider } 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(renderWithIntlProvider(<ToolsPanel onBlur={() => void null} />))
2021-08-14 15:46:21 +00:00
})
})