mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +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')
|
||||
|
||||
expect(meta).toMatchInlineSnapshot(`
|
||||
{
|
||||
"name": "test",
|
||||
"order": 1,
|
||||
}
|
||||
`)
|
||||
expect(meta).toEqual({
|
||||
'name': 'test',
|
||||
'order': 1,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user