kopia lustrzana https://github.com/Tldraw/Tldraw
Update brush.test.tsx
rodzic
faaa043ade
commit
a3414f2b20
|
@ -4,6 +4,17 @@ import { Brush } from './brush'
|
|||
|
||||
describe('brush', () => {
|
||||
test('mounts component without crashing', () => {
|
||||
renderWithSvg(<Brush />)
|
||||
renderWithSvg(
|
||||
<Brush
|
||||
brush={{
|
||||
minX: 0,
|
||||
maxX: 100,
|
||||
minY: 0,
|
||||
maxY: 100,
|
||||
width: 100,
|
||||
height: 100,
|
||||
}}
|
||||
/>
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
Ładowanie…
Reference in New Issue