Files
docx-js/ts/tests/bodyTest.ts
2016-03-31 23:36:42 +01:00

24 lines
575 B
TypeScript

/// <reference path="../typings/mocha/mocha.d.ts" />
/// <reference path="../typings/chai/chai.d.ts" />
import {Body} from "../docx/document/body";
import {assert} from "chai";
function jsonify(obj: Object) {
var stringifiedJson = JSON.stringify(obj);
return JSON.parse(stringifiedJson);
}
describe.only('Body', () => {
var body: Body;
beforeEach(() => {
body = new Body();
});
describe('#constructor()', () => {
it("should create the correct xml components", () => {
console.log(body);
});
});
});