moved to es6 module system

This commit is contained in:
Dolan Miu
2016-03-28 00:53:24 +01:00
parent 5c419cd3c4
commit 7a78dacf8c
19 changed files with 19265 additions and 24 deletions

19
ts/tests/formatterTest.ts Normal file
View File

@ -0,0 +1,19 @@
/// <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);
});
});
});