We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46f9c9a commit 1c7eb26Copy full SHA for 1c7eb26
1 file changed
src/App.test.ts
@@ -19,6 +19,14 @@ describe('parseRoute', () => {
19
expect(parseRoute('/reader/')).toEqual({ page: 'reader' })
20
})
21
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
30
it('returns blog listing for /blog', () => {
31
expect(parseRoute('/blog')).toEqual({ page: 'blog' })
32
0 commit comments