Skip to content

Commit 1c7eb26

Browse files
gmoonclaude
andcommitted
Add tests for /getting-started route to satisfy coverage threshold
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 46f9c9a commit 1c7eb26

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/App.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ describe('parseRoute', () => {
1919
expect(parseRoute('/reader/')).toEqual({ page: 'reader' })
2020
})
2121

22+
it('returns getting-started for /getting-started', () => {
23+
expect(parseRoute('/getting-started')).toEqual({ page: 'getting-started' })
24+
})
25+
26+
it('returns getting-started for /getting-started/ with trailing slash', () => {
27+
expect(parseRoute('/getting-started/')).toEqual({ page: 'getting-started' })
28+
})
29+
2230
it('returns blog listing for /blog', () => {
2331
expect(parseRoute('/blog')).toEqual({ page: 'blog' })
2432
})

0 commit comments

Comments
 (0)