Fix tests

This commit is contained in:
Dolan
2019-02-26 21:45:55 +00:00
parent 416a239708
commit 218a08d793
2 changed files with 7 additions and 7 deletions

View File

@ -78,9 +78,9 @@ describe("Document", () => {
.to.have.property("w:tbl")
.which.includes({
"w:tblGrid": [
{ "w:gridCol": [{ _attr: { "w:w": 1 } }] },
{ "w:gridCol": [{ _attr: { "w:w": 1 } }] },
{ "w:gridCol": [{ _attr: { "w:w": 1 } }] },
{ "w:gridCol": [{ _attr: { "w:w": 100 } }] },
{ "w:gridCol": [{ _attr: { "w:w": 100 } }] },
{ "w:gridCol": [{ _attr: { "w:w": 100 } }] },
],
});
expect(body[0]["w:tbl"].filter((x) => x["w:tr"])).to.have.length(2);