more tests

This commit is contained in:
Ticruz
2025-02-04 13:21:23 +01:00
committed by Jon Staab
parent 8c638a7d8f
commit 23f7244039
14 changed files with 83 additions and 80 deletions
+4 -3
View File
@@ -30,7 +30,7 @@ describe("Content Parsing", () => {
type: Content.ParsedType.Link,
value: {
url: expect.any(URL),
isMedia: false,
// isMedia: false,
},
})
expect(result[1].value.url.toString()).toBe("https://example.com/")
@@ -42,7 +42,7 @@ describe("Content Parsing", () => {
type: Content.ParsedType.Link,
value: {
url: expect.any(URL),
isMedia: false,
// isMedia: false,
},
})
expect(result[1].value.url.toString()).toBe("https://example.com/")
@@ -53,7 +53,8 @@ describe("Content Parsing", () => {
expect(result[0]).toMatchObject({
type: Content.ParsedType.Link,
value: {
isMedia: true,
url: expect.any(URL),
meta: {},
},
})
})