fixed all tests

This commit is contained in:
Dolan Miu
2016-05-02 23:32:10 +01:00
parent f805d6bef7
commit c345ab716b
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,8 @@ describe("Formatter", () => {
});
it("should should change 'p' tag into 'w:p' tag", () => {
var newJson = formatter.format({ "p": "test", "xmlKeys": { "p": "w:p" } });
var paragraph = new docx.Paragraph();
var newJson = formatter.format(paragraph);
assert.isDefined(newJson["w:p"]);
});