remove unnecessary "async"

This commit is contained in:
Pig Fang 2020-02-12 10:03:52 +08:00
parent ca7db2585f
commit ec4e222c0e

View File

@ -6,7 +6,7 @@ import EmailVerification from '@/views/widgets/EmailVerification'
jest.mock('@/scripts/net') jest.mock('@/scripts/net')
describe('send email', async () => { describe('send email', () => {
it('succeeded', async () => { it('succeeded', async () => {
fetch.post.mockResolvedValue({ code: 0, message: 'success' }) fetch.post.mockResolvedValue({ code: 0, message: 'success' })