Background color for document

This commit is contained in:
Dolan
2020-10-27 01:54:40 +00:00
parent 214afab711
commit ed52ef358b
14 changed files with 203 additions and 14 deletions

View File

@ -8,7 +8,7 @@ describe("Document", () => {
let document: Document;
beforeEach(() => {
document = new Document();
document = new Document({ background: {} });
});
describe("#constructor()", () => {
@ -38,6 +38,13 @@ describe("Document", () => {
"mc:Ignorable": "w14 w15 wp14",
},
},
{
"w:background": {
_attr: {
"w:color": "auto",
},
},
},
{ "w:body": {} },
],
});