Skip to content

Commit 103d269

Browse files
committed
test: add an in-phrase wildcard test
1 parent d886733 commit 103d269

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/index.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ it.each<
8181
],
8282
['http://localhost', 'http://localhost/*', NO_MATCH],
8383
['http://localhost/', 'http://localhost/*', MATCHES_WITHOUT_PARAMS],
84+
[
85+
'http://localhost/1a1a1a',
86+
'http://localhost/*a*a*a',
87+
MATCHES_WITH_PARAMS({ '0': '1', '1': '1', '2': '1' }),
88+
],
8489

8590
/* Three or more wildcards */
8691
[

0 commit comments

Comments
 (0)