fix lint
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
import * as shortid from "shortid";
|
||||||
import { AppProperties } from "./app-properties/app-properties";
|
import { AppProperties } from "./app-properties/app-properties";
|
||||||
import { ContentTypes } from "./content-types/content-types";
|
import { ContentTypes } from "./content-types/content-types";
|
||||||
import { CoreProperties, IPropertiesOptions } from "./core-properties";
|
import { CoreProperties, IPropertiesOptions } from "./core-properties";
|
||||||
@ -25,7 +26,6 @@ import { ExternalStylesFactory } from "./styles/external-styles-factory";
|
|||||||
import { DefaultStylesFactory } from "./styles/factory";
|
import { DefaultStylesFactory } from "./styles/factory";
|
||||||
import { Table } from "./table";
|
import { Table } from "./table";
|
||||||
import { TableOfContents } from "./table-of-contents";
|
import { TableOfContents } from "./table-of-contents";
|
||||||
import * as shortid from "shortid";
|
|
||||||
|
|
||||||
export interface ISectionOptions {
|
export interface ISectionOptions {
|
||||||
readonly headers?: {
|
readonly headers?: {
|
||||||
|
@ -8,7 +8,7 @@ describe("Hyperlink", () => {
|
|||||||
let hyperlink: Hyperlink;
|
let hyperlink: Hyperlink;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
hyperlink = new Hyperlink("https://example.com", 'superid');
|
hyperlink = new Hyperlink("https://example.com", "superid");
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("#constructor()", () => {
|
describe("#constructor()", () => {
|
||||||
@ -34,7 +34,7 @@ describe("Hyperlink", () => {
|
|||||||
|
|
||||||
describe("with optional anchor parameter", () => {
|
describe("with optional anchor parameter", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
hyperlink = new Hyperlink("Anchor Text", 'superid2', "anchor");
|
hyperlink = new Hyperlink("Anchor Text", "superid2", "anchor");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should create an internal link with anchor tag", () => {
|
it("should create an internal link with anchor tag", () => {
|
||||||
|
Reference in New Issue
Block a user