Fix tests

pull/972/head
Zef Hemel 2024-07-23 14:56:07 +02:00
parent 731e246264
commit b188750e03
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ describe("rewriteRefsAndFederationLinks", () => {
const template1 =
"* [ ] My task\n* [ ] [[other@2]] Ignore me\n* [ ] Rewrite me too [[other page]]\n";
assertEquals(
functions.rewriteTaskRefs(template1, "page1"),
functions.rewriteRefsAndFederationLinks(template1, "page1"),
"* [ ] [[page1@2]] My task\n* [ ] [[other@2]] Ignore me\n* [ ] [[page1@44]] Rewrite me too [[other page]]\n",
);
});