fix unused imports linter warnings

This commit is contained in:
felipe
2017-03-10 15:16:03 +01:00
parent 738cac0253
commit 9d7573ed9c
16 changed files with 6 additions and 25 deletions

View File

@ -1,5 +1,7 @@
/* tslint:disable */
import { assert } from "chai";
import { Utility } from "./utility";
/* tslint:enable */
describe("", () => {

View File

@ -2,7 +2,6 @@ import { assert, expect } from "chai";
import * as docx from "../../../docx";
import { Formatter } from "../../../export/formatter";
import { Numbering } from "../../../numbering";
import { Utility } from "../../utility";
describe("Paragraph", () => {
let paragraph: docx.Paragraph;

View File

@ -1,6 +1,5 @@
import { assert, expect } from "chai";
import { Run } from "../../../docx/run";
import { TextRun } from "../../../docx/run/text-run";
import { Formatter } from "../../../export/formatter";
import { Utility } from "../../utility";

View File

@ -1,5 +1,4 @@
import { assert, expect } from "chai";
import { TextRun } from "../../../docx/run/text-run";
import * as u from "../../../docx/run/underline";
import { Formatter } from "../../../export/formatter";
import { Utility } from "../../utility";

View File

@ -6,7 +6,6 @@ import { Paragraph } from "../../docx/paragraph";
import { LocalPacker } from "../../export/packer/local";
import { Properties } from "../../properties";
import { DefaultStylesFactory } from "../../styles/factory";
import { DefaultStyle } from "../../styles/sample";
describe("Packer", () => {
let packer: LocalPacker;

View File

@ -20,7 +20,6 @@ describe("Styles", () => {
describe("#createParagraphStyle", () => {
it("should create a new paragraph style and push it onto this collection", () => {
const ps = styles.createParagraphStyle("pStyleId");
const tree = new Formatter().format(styles)["w:styles"].filter((x) => !x._attr);
expect(tree).to.deep.equal([{
"w:style": [
@ -32,7 +31,6 @@ describe("Styles", () => {
});
it("should set the paragraph name if given", () => {
const ps = styles.createParagraphStyle("pStyleId", "Paragraph Style");
const tree = new Formatter().format(styles)["w:styles"].filter((x) => !x._attr);
expect(tree).to.deep.equal([{
"w:style": [