Skip to content

Commit a3d5a22

Browse files
gmoonclaude
andcommitted
Update blog listing test to expect CollectionPage schema type
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7722be5 commit a3d5a22

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/prerender.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ describe('pre-rendered blog listing', () => {
149149
}
150150
})
151151

152-
it('has WebPage JSON-LD', () => {
152+
it('has CollectionPage JSON-LD', () => {
153153
const html = readFileSync(file, 'utf-8')
154-
expect(html).toContain('"@type":"WebPage"')
154+
expect(html).toContain('"@type":"CollectionPage"')
155155
})
156156

157157
it('has BreadcrumbList JSON-LD', () => {

0 commit comments

Comments
 (0)