We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e0c25 commit dcb522fCopy full SHA for dcb522f
src/index.spec.ts
@@ -2584,6 +2584,28 @@ const TESTS: Test[] = [
2584
[{ test: "123.123" }, "/123.123"],
2585
[{ test: "123.abc" }, null]
2586
]
2587
+ ],
2588
+ [
2589
+ "/:test((?!login)[^/]+)",
2590
+ undefined,
2591
2592
+ {
2593
+ name: "test",
2594
+ prefix: "/",
2595
+ delimiter: "/",
2596
+ optional: false,
2597
+ repeat: false,
2598
+ pattern: "(?!login)[^/]+"
2599
+ }
2600
2601
2602
+ ["/route", ["/route", "route"]],
2603
+ ["/login", null]
2604
2605
2606
+ [{ test: "route" }, "/route"],
2607
+ [{ test: "login" }, null]
2608
+ ]
2609
2610
];
2611
0 commit comments