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,7 +4,7 @@ import {ThematicBreak} from "../docx/paragraph/border";
import {assert} from "chai";
function jsonify(obj: Object) {
var stringifiedJson = JSON.stringify(obj);
let stringifiedJson = JSON.stringify(obj);
return JSON.parse(stringifiedJson);
}
@ -13,7 +13,7 @@ describe("Border", () => {
});
describe("ThematicBreak", () => {
var thematicBreak: ThematicBreak;
let thematicBreak: ThematicBreak;
beforeEach(() => {
thematicBreak = new ThematicBreak();
@ -21,8 +21,8 @@ describe("ThematicBreak", () => {
describe("#constructor()", () => {
it("should create a Thematic Break with correct border properties", () => {
var newJson = jsonify(thematicBreak);
var attributes = {
let newJson = jsonify(thematicBreak);
let attributes = {
color: "auto",
space: "1",
val: "single",
@ -30,5 +30,5 @@ describe("ThematicBreak", () => {
};
assert.equal(JSON.stringify(newJson.root[0].root[0].root), JSON.stringify(attributes));
});
})
});
});