#613 #439 Even and odd headers

This commit is contained in:
Dolan
2021-03-16 00:57:27 +00:00
parent 8b2aa58198
commit 131183ae19
7 changed files with 143 additions and 11 deletions

View File

@ -451,4 +451,14 @@ describe("File", () => {
],
});
});
it("should create with even and odd headers and footers", () => {
const doc = new File({
evenAndOddHeaderAndFooters: true,
});
const tree = new Formatter().format(doc.Settings);
expect(tree["w:settings"][2]).to.deep.equal({ "w:evenAndOddHeaders": {} });
});
});