test: switch inline snapshot to object comparison

This commit is contained in:
Daniel Roe 2024-09-13 12:54:52 +01:00
parent cde1c93ed0
commit 79b0cc0c3b
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') ].join('\n'), 'tsx')
expect(meta).toMatchInlineSnapshot(` expect(meta).toEqual({
{ 'name': 'test',
"name": "test", 'order': 1,
"order": 1, })
}
`)
} }
}) })