File size: 401 Bytes
60f878e
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
  });
});