From 9938a8bcc07b644070f06948155825d8628a5e38 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Wed, 31 Jul 2019 08:48:25 +0100 Subject: [PATCH] Fix linting --- src/export/packer/next-compiler.spec.ts | 2 +- src/file/file.spec.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/export/packer/next-compiler.spec.ts b/src/export/packer/next-compiler.spec.ts index 43bd4814f1..ac271c02d9 100644 --- a/src/export/packer/next-compiler.spec.ts +++ b/src/export/packer/next-compiler.spec.ts @@ -1,7 +1,7 @@ /* tslint:disable:typedef space-before-function-paren */ import { expect } from "chai"; -import { File, Header, Footer } from "file"; +import { File, Footer, Header } from "file"; import { Compiler } from "./next-compiler"; diff --git a/src/file/file.spec.ts b/src/file/file.spec.ts index 6c4532a889..dae4af33fb 100644 --- a/src/file/file.spec.ts +++ b/src/file/file.spec.ts @@ -58,8 +58,6 @@ describe("File", () => { 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"][7]["w:footerReference"]._attr["w:type"]).to.equal("first"); });