fix unused imports linter warnings
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
/* tslint:disable */
|
||||
import { assert } from "chai";
|
||||
import { Utility } from "./utility";
|
||||
/* tslint:enable */
|
||||
|
||||
describe("", () => {
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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";
|
||||
|
@ -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;
|
||||
|
@ -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": [
|
||||
|
Reference in New Issue
Block a user