mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 07:19:03 +08:00
fix(html-transformer.test): add further images
This commit is contained in:
parent
cf17479626
commit
ce3c54d7c7
@ -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",
|
||||
@ -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");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user