]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test: minor refactor
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Aug 2025 19:20:58 +0000 (21:20 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Aug 2025 19:20:58 +0000 (21:20 +0200)
packages/router/src/experimental/route-resolver/matchers/matcher-pattern.spec.ts

index 554d93da1ac0452618ab474584d44821dd704745..756081964fbd6949cd8093389a590c39e6acd348 100644 (file)
@@ -341,7 +341,7 @@ describe('MatcherPatternPathDynamic', () => {
     const pattern = new MatcherPatternPathDynamic(
       /^\/teams\/([^/]+?)\/$/i,
       {
-        teamId: [{}],
+        teamId: [],
       },
       ['teams', 1],
       true
@@ -375,7 +375,7 @@ describe('MatcherPatternPathDynamic', () => {
     const pattern = new MatcherPatternPathDynamic(
       /^\/teams\/(.+?)\/$/,
       {
-        teamId: [{}, true],
+        teamId: [, true],
       },
       ['teams', 1],
       true