Skip to content

Commit 4910959

Browse files
committed
test: update unit test snapshot for jsx
1 parent 86c960c commit 4910959

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/nuxt/test/page-metadata.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ export default {
5656

5757
const meta = await getRouteMeta(fileContents, `/app/pages/index.vue`)
5858
expect(meta).toStrictEqual({
59-
name: 'bar',
59+
'meta': {
60+
'__nuxt_dynamic_meta_key': new Set(['meta']),
61+
},
62+
'name': 'bar',
6063
})
6164
})
6265

0 commit comments

Comments
 (0)