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

10 wiersze
319 B
TypeScript

import * as React from 'react'
import { ToolsPanel } from './ToolsPanel'
import { renderWithContext, renderWithIntlProvider } from '~test'
describe('tools panel', () => {
test('mounts component without crashing', () => {
renderWithContext(renderWithIntlProvider(<ToolsPanel onBlur={() => void null} />))
})
})