mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
test: switch inline snapshot to object comparison
This commit is contained in:
parent
6ee3b3adc6
commit
ae51353638
@ -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