ITableOfContentsProperties to ITableOfContentsOptions

This commit is contained in:
Dolan
2018-09-25 21:09:30 +01:00
parent 3a42f2a2f0
commit c140d2c37c
5 changed files with 16 additions and 11 deletions

View File

@ -1,7 +1,7 @@
import { expect } from "chai";
import { Formatter } from "../../export/formatter";
import { ITableOfContentsProperties, StyleLevel, TableOfContents } from "./";
import { ITableOfContentsOptions, StyleLevel, TableOfContents } from "./";
describe("Table of Contents", () => {
describe("#constructor", () => {
@ -12,7 +12,7 @@ describe("Table of Contents", () => {
});
it("should construct a TOC with all the options and alias", () => {
const props: ITableOfContentsProperties = {};
const props: ITableOfContentsOptions = {};
props.captionLabel = "A";
props.entriesFromBookmark = "B";