fixed tests

This commit is contained in:
Dolan Miu
2016-05-09 21:50:46 +01:00
parent 1e91d63604
commit 92f34ead53

View File

@ -32,8 +32,7 @@ describe("Paragraph", () => {
it("should create have valid properties", () => { it("should create have valid properties", () => {
var stringifiedJson = JSON.stringify(paragraph); var stringifiedJson = JSON.stringify(paragraph);
var newJson = JSON.parse(stringifiedJson); var newJson = JSON.parse(stringifiedJson);
assert.equal(newJson.root[0].rootKey, "w:pPr");
assert.equal(newJson.root[1].root[0].rootKey, "w:pPr");
}); });
}); });