Make .addSection fully declarative
This commit is contained in:
@ -6,7 +6,11 @@ describe("Index", () => {
|
||||
describe("Document", () => {
|
||||
it("should instantiate the Document", () => {
|
||||
// tslint:disable-next-line: no-unused-expression
|
||||
expect(new Document()).to.be.ok;
|
||||
expect(
|
||||
new Document({
|
||||
sections: [],
|
||||
}),
|
||||
).to.be.ok;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user