From 92f34ead5398a215a8162482963996169acb2463 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Mon, 9 May 2016 21:50:46 +0100 Subject: [PATCH] fixed tests --- ts/tests/paragraphTest.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ts/tests/paragraphTest.ts b/ts/tests/paragraphTest.ts index e9cc196902..2dcab1182a 100644 --- a/ts/tests/paragraphTest.ts +++ b/ts/tests/paragraphTest.ts @@ -32,8 +32,7 @@ describe("Paragraph", () => { it("should create have valid properties", () => { var stringifiedJson = JSON.stringify(paragraph); var newJson = JSON.parse(stringifiedJson); - - assert.equal(newJson.root[1].root[0].rootKey, "w:pPr"); + assert.equal(newJson.root[0].rootKey, "w:pPr"); }); });