]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test(matcher): add more tests for aliases
authorEduardo San Martin Morote <posva13@gmail.com>
Sat, 14 Mar 2020 22:54:30 +0000 (23:54 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Sat, 14 Mar 2020 22:54:30 +0000 (23:54 +0100)
__tests__/matcher/addingRemoving.spec.ts

index 0c15ad026d0a3e83344809af1ca1a94c8d5c0e03..de3ab8f61cad6d25e182be43664683bb876337c6 100644 (file)
@@ -299,6 +299,10 @@ describe('normalizeRouteRecord', () => {
       '/x2/zzz',
       '/x2/z',
       '/x2/z2',
+      '/start/xxx/yyy',
+      '/home/xxx/yyy',
+      '/home/xxx/z2',
+      '/home/x2/z2',
     ].forEach(path => {
       expect(matcher.resolve({ path }, currentLocation)).toMatchObject({
         path,