Fix linting

This commit is contained in:
Dolan Miu
2019-07-31 08:48:25 +01:00
parent ac5b15d0e3
commit 9938a8bcc0
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* tslint:disable:typedef space-before-function-paren */ /* tslint:disable:typedef space-before-function-paren */
import { expect } from "chai"; import { expect } from "chai";
import { File, Header, Footer } from "file"; import { File, Footer, Header } from "file";
import { Compiler } from "./next-compiler"; import { Compiler } from "./next-compiler";

View File

@ -58,8 +58,6 @@ describe("File", () => {
const tree = new Formatter().format(doc.Document.Body); const tree = new Formatter().format(doc.Document.Body);
console.log(JSON.stringify(tree, null, 2));
expect(tree["w:body"][1]["w:sectPr"][5]["w:headerReference"]._attr["w:type"]).to.equal("first"); expect(tree["w:body"][1]["w:sectPr"][5]["w:headerReference"]._attr["w:type"]).to.equal("first");
expect(tree["w:body"][1]["w:sectPr"][7]["w:footerReference"]._attr["w:type"]).to.equal("first"); expect(tree["w:body"][1]["w:sectPr"][7]["w:footerReference"]._attr["w:type"]).to.equal("first");
}); });