Skip to content

Commit

Permalink
fix(html-transformer.test): add further images
Browse files Browse the repository at this point in the history
  • Loading branch information
mogery committed Jan 25, 2025
1 parent cf17479 commit ce3c54d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/api/src/lib/__tests__/html-transformer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ describe("HTML Transformer", () => {
<a href="//example.net/proturl">hi</a>
<a href="?queryurl">hi</a>
<a href="#hashurl">hi</a>
<img src="#q1">
<img src="#q2">
</div>
`,
url: "https://example.com",
Expand All @@ -342,6 +344,8 @@ describe("HTML Transformer", () => {
expect(result).toContain("https://example.net/proturl");
expect(result).toContain("https://example.com/?queryurl");
expect(result).toContain("https://example.com/#hashurl");
expect(result).toContain("https://example.com/#q1");
expect(result).toContain("https://example.com/#q2");
});
});
});

0 comments on commit ce3c54d

Please sign in to comment.