mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 00:52:01 +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')
|
].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