mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
test: switch inline snapshot to object comparison
This commit is contained in:
parent
cde1c93ed0
commit
79b0cc0c3b
@ -23,12 +23,10 @@ describe('plugin-metadata', () => {
|
|||||||
'})',
|
'})',
|
||||||
].join('\n'), 'tsx')
|
].join('\n'), 'tsx')
|
||||||
|
|
||||||
expect(meta).toMatchInlineSnapshot(`
|
expect(meta).toEqual({
|
||||||
{
|
'name': 'test',
|
||||||
"name": "test",
|
'order': 1,
|
||||||
"order": 1,
|
})
|
||||||
}
|
|
||||||
`)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user