Fix tests
This commit is contained in:
@ -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" } } }],
|
||||
|
Reference in New Issue
Block a user