开源白板工具(SaaS),一体化白板,包含思维导图、流程图、自由画等。All in one open-source whiteboard tool with mind, flowchart, freehand and etc.
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();
});
});