Spaces:
Sleeping
Sleeping
| import { render } from '@testing-library/react'; | |
| import { Text } from './text'; | |
| import { Element } from 'slate'; | |
| describe('Text', () => { | |
| it('should render successfully', () => { | |
| // const ele: Element = { children: [{ text: '' }], type: 'paragraph' }; | |
| // const { baseElement } = render(<Text text={ele} board={{} as any} />); | |
| // expect(baseElement).toBeTruthy(); | |
| }); | |
| }); | |