mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
test: update snapshot for https://github.com/nuxt/nuxt/pull/28441
This commit is contained in:
parent
9e23aceb6a
commit
a248f24f50
@ -27,6 +27,7 @@
|
||||
"route.meta props generate by file": [
|
||||
{
|
||||
"component": "() => import("pages/page-with-props.vue")",
|
||||
"meta": "mockMeta || {}",
|
||||
"name": ""page-with-props"",
|
||||
"path": ""/page-with-props"",
|
||||
},
|
||||
@ -351,4 +352,4 @@
|
||||
"redirect": "mockMeta?.redirect",
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
@ -621,6 +621,7 @@ describe('pages:generateRoutesFromFiles', () => {
|
||||
name: 'page-with-props',
|
||||
path: '/page-with-props',
|
||||
file: `${pagesDir}/page-with-props.vue`,
|
||||
meta: { [DYNAMIC_META_KEY]: new Set(['meta']) },
|
||||
children: [],
|
||||
props: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user