From 35a0bc006ff0f793fc036369a0a897010298a383 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 14 Mar 2020 23:54:30 +0100 Subject: [PATCH] test(matcher): add more tests for aliases --- __tests__/matcher/addingRemoving.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/__tests__/matcher/addingRemoving.spec.ts b/__tests__/matcher/addingRemoving.spec.ts index 0c15ad02..de3ab8f6 100644 --- a/__tests__/matcher/addingRemoving.spec.ts +++ b/__tests__/matcher/addingRemoving.spec.ts @@ -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, -- 2.39.5