Fix demos

This commit is contained in:
Dolan Miu
2020-12-24 00:00:24 +00:00
parent 6100ff4c4e
commit 17d02a3d1c
4 changed files with 16 additions and 17 deletions

View File

@ -89,11 +89,12 @@ describe("DeletedTextRun", () => {
describe("#break()", () => {
it("should add a break", () => {
const deletedTextRun = new DeletedTextRun({
break: 1,
children: ["some text"],
id: 0,
date: "123",
author: "Author",
}).break();
});
const tree = new Formatter().format(deletedTextRun);
expect(tree).to.deep.equal({
"w:del": [