]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: fix typings in tests
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 16 Aug 2019 17:23:51 +0000 (19:23 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 16 Aug 2019 17:23:51 +0000 (19:23 +0200)
__tests__/router-link.spec.js
__tests__/router-view.spec.js

index c974eae4beb0c75cc54f85b394358040b146a0b7..38ff0e0670825ec163635f7e291f15bf36539ba4 100644 (file)
@@ -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: [],
index 0526b2627708aa60748458d92ee6136c131b2ae6..de69475793f19122cfe28ca47ead4eb576065437 100644 (file)
@@ -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: '/' }],
   },
 }