From: Eduardo San Martin Morote Date: Wed, 25 Mar 2020 20:31:42 +0000 (+0100) Subject: test: fix tests X-Git-Tag: v4.0.0-alpha.4~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd6856cf26d29c8be0842c1e82fab9f17a0d492e;p=thirdparty%2Fvuejs%2Frouter.git test: fix tests --- diff --git a/__tests__/history/html5.spec.ts b/__tests__/history/html5.spec.ts index dc44100b..606deee1 100644 --- a/__tests__/history/html5.spec.ts +++ b/__tests__/history/html5.spec.ts @@ -15,9 +15,6 @@ describe('History HTMl5', () => { const history = createWebHistory() expect(history.location).toEqual({ fullPath: '/', - path: '/', - query: {}, - hash: '', }) }) }) diff --git a/__tests__/router.spec.ts b/__tests__/router.spec.ts index ea69c117..73db6546 100644 --- a/__tests__/router.spec.ts +++ b/__tests__/router.spec.ts @@ -87,7 +87,8 @@ describe('Router', () => { path: '/foo', query: {}, hash: '', - }) + }), + undefined ) }) @@ -127,7 +128,8 @@ describe('Router', () => { path: '/foo', query: {}, hash: '', - }) + }), + undefined ) }) @@ -142,7 +144,8 @@ describe('Router', () => { path: '/foo', query: {}, hash: '', - }) + }), + undefined ) })