test: switch inline snapshot to object comparison

This commit is contained in:
Daniel Roe 2024-09-13 12:54:52 +01:00
parent 6ee3b3adc6
commit ae51353638
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B
1 changed files with 4 additions and 6 deletions

View File

@ -23,12 +23,10 @@ describe('plugin-metadata', () => {
'})',
].join('\n'), 'tsx')
expect(meta).toMatchInlineSnapshot(`
{
"name": "test",
"order": 1,
}
`)
expect(meta).toEqual({
'name': 'test',
'order': 1,
})
}
})