test(sanitizer): update test description
This commit is contained in:
parent
4e9a690e68
commit
ec02a26795
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ describe("cozify()", async () => {
|
||||||
expect(result).toContain('href="https://cozy.pub?url=#"');
|
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 html = "<a href=#>hey</a>";
|
||||||
const result = await cozify(html, baseUrl);
|
const result = await cozify(html, baseUrl);
|
||||||
expect(result).toContain('prefetch="true"');
|
expect(result).toContain('prefetch="true"');
|
||||||
|
|
Loading…
Reference in a new issue