some text https://somelink.com
"; - const linkified = utils.parseAndTransform(content, utils.addLink); + const linkified = parseAndTransform(content, addLink); assert.ok(linkified.startsWith("")); @@ -83,7 +83,7 @@ QUnit.test("addLink: linkify inside text node (2 occurrences)", function (assert // stringified representation, we continue deeper assertion with query // selectors. const content = "some text https://somelink.com and again https://somelink2.com ...
"; - const linkified = utils.parseAndTransform(content, utils.addLink); + const linkified = parseAndTransform(content, addLink); const fragment = document.createDocumentFragment(); const div = document.createElement("div"); fragment.appendChild(div);