fixed tests
This commit is contained in:
@ -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");
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user