moved to es6 module system
This commit is contained in:
19
ts/tests/formatterTest.ts
Normal file
19
ts/tests/formatterTest.ts
Normal 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);
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user