diff --git a/src/file/table/table-properties/table-properties.spec.ts b/src/file/table/table-properties/table-properties.spec.ts index 49ff9f740e..a6a9b5879f 100644 --- a/src/file/table/table-properties/table-properties.spec.ts +++ b/src/file/table/table-properties/table-properties.spec.ts @@ -22,7 +22,9 @@ describe("TableProperties", () => { describe("#setStyle", () => { it("should add a table style property", () => { - const tp = new TableProperties().setStyle("TableNormal"); + const tp = new TableProperties({ + style: "TableNormal", + }); const tree = new Formatter().format(tp); expect(tree).to.deep.equal({ "w:tblPr": [{ "w:tblStyle": { _attr: { "w:val": "TableNormal" } } }],