From: Eduardo San Martin Morote Date: Fri, 16 Aug 2019 17:23:51 +0000 (+0200) Subject: chore: fix typings in tests X-Git-Tag: v4.0.0-alpha.0~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc9cd915e9684946ad482d9b23951ef99db7ce31;p=thirdparty%2Fvuejs%2Frouter.git chore: fix typings in tests --- diff --git a/__tests__/router-link.spec.js b/__tests__/router-link.spec.js index c974eae4..38ff0e06 100644 --- a/__tests__/router-link.spec.js +++ b/__tests__/router-link.spec.js @@ -24,7 +24,7 @@ const locations = { fullPath: '/home', path: '/home', params: {}, - // meta: {}, + meta: {}, query: {}, hash: '', matched: [], @@ -38,7 +38,7 @@ const locations = { fullPath: '/home?foo=a&bar=b', path: '/home', params: {}, - // meta: {}, + meta: {}, query: { foo: 'a', bar: 'b' }, hash: '', matched: [], diff --git a/__tests__/router-view.spec.js b/__tests__/router-view.spec.js index 0526b262..de694757 100644 --- a/__tests__/router-view.spec.js +++ b/__tests__/router-view.spec.js @@ -20,7 +20,7 @@ const routes = { query: {}, params: {}, hash: '', - // meta: {}, + meta: {}, matched: [{ components: { default: components.Home }, path: '/' }], }, nested: { @@ -30,7 +30,7 @@ const routes = { query: {}, params: {}, hash: '', - // meta: {}, + meta: {}, matched: [ { components: { default: components.Nested }, path: '/' }, { components: { default: components.Foo }, path: 'a' }, @@ -43,7 +43,7 @@ const routes = { query: {}, params: {}, hash: '', - // meta: {}, + meta: {}, matched: [ { components: { default: components.Nested }, path: '/' }, { components: { default: components.Nested }, path: 'a' }, @@ -57,7 +57,7 @@ const routes = { query: {}, params: {}, hash: '', - // meta: {}, + meta: {}, matched: [{ components: { foo: components.Foo }, path: '/' }], }, }