Add hyperlink cache test

This commit is contained in:
Dolan
2019-12-24 16:31:35 +00:00
parent 47533cf4e2
commit 3591e11637
2 changed files with 9 additions and 1 deletions

View File

@ -148,6 +148,14 @@ describe("File", () => {
});
});
describe("#HyperlinkCache", () => {
it("should initially have empty hyperlink cache", () => {
const file = new File();
expect(file.HyperlinkCache).to.deep.equal({});
});
});
describe("#createFootnote", () => {
it("should create footnote", () => {
const wrapper = new File({