From 599be5bf2bbefb7eefe995b89d5229b1767a9c32 Mon Sep 17 00:00:00 2001 From: felipe Date: Fri, 10 Mar 2017 16:35:48 +0100 Subject: [PATCH] got a little carried away with the purge! fixed failing errors --- ts/tests/stylesTest.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/tests/stylesTest.ts b/ts/tests/stylesTest.ts index 424197aacb..dfbd1ca2d3 100644 --- a/ts/tests/stylesTest.ts +++ b/ts/tests/stylesTest.ts @@ -20,6 +20,7 @@ describe("Styles", () => { describe("#createParagraphStyle", () => { it("should create a new paragraph style and push it onto this collection", () => { + styles.createParagraphStyle("pStyleId"); const tree = new Formatter().format(styles)["w:styles"].filter((x) => !x._attr); expect(tree).to.deep.equal([{ "w:style": [ @@ -31,6 +32,7 @@ describe("Styles", () => { }); it("should set the paragraph name if given", () => { + styles.createParagraphStyle("pStyleId", "Paragraph Style"); const tree = new Formatter().format(styles)["w:styles"].filter((x) => !x._attr); expect(tree).to.deep.equal([{ "w:style": [