test(sanitizer): update test description

This commit is contained in:
Ayo Ayco 2024-11-10 20:07:25 +01:00
parent 4e9a690e68
commit ec02a26795

View file

@ -23,7 +23,7 @@ describe("cozify()", async () => {
expect(result).toContain('href="https://cozy.pub?url=#"');
});
test("should add prefetch=true of links", async () => {
test("should add prefetch=true to links", async () => {
const html = "<a href=#>hey</a>";
const result = await cozify(html, baseUrl);
expect(result).toContain('prefetch="true"');