Skip to content

Commit 28aa08c

Browse files
committed
chore: add more tests
1 parent a3e7e22 commit 28aa08c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/excel-builder-vanilla/src/__tests__/excel-builder.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,5 +1094,8 @@ describe('Excel-Builder-Vanilla', () => {
10941094

10951095
const titles = fruitWorkbook.printTitles;
10961096
expect(titles).toEqual({ sheet1: { left: 'B', top: 2 } });
1097+
1098+
const wsXML = fruitWorkbook.toXML();
1099+
expect(wsXML.documentElement.children.length).toBe(2);
10971100
});
10981101
});

0 commit comments

Comments
 (0)