Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 62bc313

Browse files
committed
Fix tags for ld
1 parent 8147507 commit 62bc313

File tree

3 files changed

+25
-363
lines changed

3 files changed

+25
-363
lines changed

__tests__/seo.test.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,20 @@ describe("Seo", () => {
586586
"2021 Apr 28",
587587
),
588588
).toContain(`"keyword1","keyword2"`);
589+
590+
expect(
591+
createJsonLD(
592+
OgPageType.Person,
593+
"http://url/",
594+
"/image.jpg",
595+
"Fabrizio Duroni",
596+
"The title",
597+
links,
598+
["keyword1", "keyword2"],
599+
"The description",
600+
"2021 Apr 28",
601+
),
602+
).not.toContain(`"keyword1","keyword2"`);
589603
});
590604
});
591605
});

0 commit comments

Comments
 (0)