Skip to content

Commit

Permalink
test: update snapshots with no props comment
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 17, 2022
1 parent bc152e3 commit 144a887
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
18 changes: 18 additions & 0 deletions e2e/__snapshots__/routes.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,41 @@ exports[`generates the routes 1`] = `
path: '/',
name: '/',
component: () => import('/routes/index.vue'),
/* no props */
/* no children */
},
{
path: '/:path(.*)',
name: '/[...path]',
component: () => import('/routes/[...path].vue'),
/* no props */
/* no children */
},
{
path: '/about',
name: '/about',
component: () => import('/routes/about.vue'),
/* no props */
/* no children */
},
{
path: '/articles',
/* no name */
/* no component */
/* no props */
children: [
{
path: ':id',
name: '/articles/[id]',
component: () => import('/routes/articles/[id].vue'),
/* no props */
/* no children */
},
{
path: ':slugs+',
name: '/articles/[slugs]+',
component: () => import('/routes/articles/[slugs]+.vue'),
/* no props */
/* no children */
}
],
Expand All @@ -43,32 +49,38 @@ exports[`generates the routes 1`] = `
path: '/nested',
/* no name */
/* no component */
/* no props */
children: [
{
path: 'folder',
/* no name */
/* no component */
/* no props */
children: [
{
path: '',
name: '/nested/folder/',
component: () => import('/routes/nested/folder/index.vue'),
/* no props */
/* no children */
},
{
path: 'should',
/* no name */
/* no component */
/* no props */
children: [
{
path: 'work',
/* no name */
/* no component */
/* no props */
children: [
{
path: '',
name: '/nested/folder/should/work/',
component: () => import('/routes/nested/folder/should/work/index.vue'),
/* no props */
/* no children */
}
],
Expand All @@ -83,17 +95,20 @@ exports[`generates the routes 1`] = `
path: '/optional',
/* no name */
/* no component */
/* no props */
children: [
{
path: ':doc?',
name: '/optional/[[doc]]',
component: () => import('/routes/optional/[[doc]].vue'),
/* no props */
/* no children */
},
{
path: ':docs*',
name: '/optional/[[docs]]+',
component: () => import('/routes/optional/[[docs]]+.vue'),
/* no props */
/* no children */
}
],
Expand All @@ -102,11 +117,13 @@ exports[`generates the routes 1`] = `
path: '/users',
name: '/users',
component: () => import('/routes/users.vue'),
/* no props */
children: [
{
path: ':id',
name: '/users/[id]',
component: () => import('/routes/users/[id].vue'),
/* no props */
/* no children */
}
],
Expand All @@ -115,6 +132,7 @@ exports[`generates the routes 1`] = `
path: '/users/new',
name: '/users.new',
component: () => import('/routes/users.new.vue'),
/* no props */
/* no children */
}
]
Expand Down

0 comments on commit 144a887

Please sign in to comment.