Files
docx-js/ts/tests/formatterTest.ts

19 lines
475 B
TypeScript
Raw Normal View History

2016-03-28 00:53:24 +01:00
/// <reference path="../typings/mocha/mocha.d.ts" />
/// <reference path="../typings/lodash/lodash.d.ts" />
import {Formatter} from "../export/Formatter";
describe('Formatter', () => {
var formatter: Formatter;
beforeEach(() => {
formatter = new Formatter();
});
describe('#format()', () => {
it("should work", () => {
var newJson = formatter.format('{"p":["stuff"]}');
console.log(newJson);
});
});
});