Add another fragment test case which caused jenkins error

This commit is contained in:
Florian Scholdei
2020-05-14 23:35:14 +02:00
parent 20b1ec77ec
commit 9131b5eb2f
2 changed files with 3 additions and 8 deletions

View File

@@ -30,6 +30,7 @@ const pathname = basePath + "README.md/";
describe("correctLocalLink tests", () => {
it("should return same url", () => {
expect(correctLocalLink(pathname, "")).toBe(pathname);
expect(correctLocalLink(pathname, "#42")).toBe("#42");
});
it("should return main directory", () => {