diff --git a/ts/tests/formatterTest.ts b/ts/tests/formatterTest.ts index 6f8e199c83..46a6e4ec42 100644 --- a/ts/tests/formatterTest.ts +++ b/ts/tests/formatterTest.ts @@ -1,8 +1,10 @@ /// /// +/// import {Formatter} from "../export/Formatter"; import * as docx from "../docx"; +import {assert} from "chai"; function jsonify(obj: Object) { var stringifiedJson = JSON.stringify(obj); @@ -26,6 +28,7 @@ describe.only('Formatter', () => { it("should should change 'p' tag into 'w:p' tag", () => { var newJson = formatter.format({ "p": "test" }); + assert.isDefined(newJson["w:p"]); }); }); }); \ No newline at end of file