fixed all tslint errors

This commit is contained in:
Dolan Miu
2016-05-26 15:08:34 +01:00
parent f075d3b719
commit a2284df881
42 changed files with 253 additions and 254 deletions

View File

@ -4,19 +4,19 @@ import {Styles} from "../styles";
import {assert} from "chai";
describe("Styles", () => {
var styles: Styles;
let styles: Styles;
beforeEach(() => {
styles = new Styles();
});
describe('#constructor()', () => {
describe("#constructor()", () => {
it("should create styles with correct rootKey", () => {
var styles = new Styles();
var stringifiedJson = JSON.stringify(styles);
var newJson = JSON.parse(stringifiedJson);
let styles = new Styles();
let stringifiedJson = JSON.stringify(styles);
let newJson = JSON.parse(stringifiedJson);
assert.equal(newJson.rootKey, "w:styles");
});
});