Skip to content

Commit

Permalink
Adds test for parameter with numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeekens committed Dec 13, 2021
1 parent e6bfc2a commit 1fef75e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/matching/matchRequestUrl.test.ts
Expand Up @@ -104,5 +104,8 @@ describe('coercePath', () => {
expect(coercePath('https://example.com:1234/:userId')).toEqual(
'https\\://example.com\\:1234/:userId',
)
expect(coercePath('https://example.com:1234/:5678')).toEqual(
'https\\://example.com\\:1234/:5678',
)
})
})

0 comments on commit 1fef75e

Please sign in to comment.