apply Prettier fixes

This commit is contained in:
Pig Fang 2022-02-12 17:35:09 +08:00
parent 192c968bae
commit fce1e8874f
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2

View File

@ -59,10 +59,16 @@ test('preview textures', async () => {
expect( expect(
queryByAltText(`${fixture.name} - ${t('general.skin')}`), queryByAltText(`${fixture.name} - ${t('general.skin')}`),
).toHaveAttribute('src', `${blessing.base_url}/preview/${fixture.tid_skin}?png`) ).toHaveAttribute(
'src',
`${blessing.base_url}/preview/${fixture.tid_skin}?png`,
)
expect( expect(
queryByAltText(`${fixture.name} - ${t('general.cape')}`), queryByAltText(`${fixture.name} - ${t('general.cape')}`),
).toHaveAttribute('src', `${blessing.base_url}/preview/${fixture.tid_cape}?png`) ).toHaveAttribute(
'src',
`${blessing.base_url}/preview/${fixture.tid_cape}?png`,
)
fireEvent.click(getByText(t('general.confirm'))) fireEvent.click(getByText(t('general.confirm')))
}) })