This commit is contained in:
Pig Fang 2020-10-25 17:46:40 +08:00
parent ddb939e562
commit 43d410081e
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2

View File

@ -119,7 +119,9 @@ describe('input file', () => {
const { getByTitle, getByLabelText, findByLabelText } = render(<Upload />)
fireEvent.click(getByLabelText(t('general.cape')))
await waitFor(() => {/* */})
await waitFor(() => {
/* */
})
const file = new File([], 't.png')
fireEvent.change(getByTitle(t('skinlib.upload.select-file')), {