This commit is contained in:
Nicolas Rotier
2019-11-08 11:22:27 +01:00
parent 3427d220c7
commit e8410ff692
2 changed files with 3 additions and 3 deletions

View File

@ -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?: {

View File

@ -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", () => {