diff --git a/ts/tests/bodyTest.ts b/ts/tests/bodyTest.ts index 7475a4d7fa..b19eee512c 100644 --- a/ts/tests/bodyTest.ts +++ b/ts/tests/bodyTest.ts @@ -16,9 +16,30 @@ describe.only('Body', () => { }); describe('#constructor()', () => { - - it("should create the correct xml components", () => { - console.log(body); + + it("should create the Section Properties", () => { + var newJson = jsonify(body); + assert.isDefined(newJson.body[0].sectPr); + }); + + it("should create the Page Size", () => { + var newJson = jsonify(body); + assert.isDefined(newJson.body[1].pgSz); + }); + + it("should create the Page Margin", () => { + var newJson = jsonify(body); + assert.isDefined(newJson.body[2].pgMar); + }); + + it("should create the Columns", () => { + var newJson = jsonify(body); + assert.isDefined(newJson.body[3].cols); + }); + + it("should create the Document Grid", () => { + var newJson = jsonify(body); + assert.isDefined(newJson.body[4].docGrid); }); }); }); \ No newline at end of file