Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f343e1 commit 2ceb8d2Copy full SHA for 2ceb8d2
packages/heuristic-table-plugin/src/helpers/__tests__/createRenderTree.test.ts
@@ -47,6 +47,13 @@ function root(children: TableRoot['children']): TableRoot {
47
}
48
49
describe('createRenderTree', () => {
50
+ it('should handle empty table layout', () => {
51
+ expect(
52
+ makeRenderTree('<table><tr><td></td></tr></table>', [0])
53
+ ).toMatchObject({
54
+ type: 'root'
55
+ });
56
57
it('should handle simple table layout', () => {
58
expect(
59
makeRenderTree(
0 commit comments