chore: fix typo in assertion

This commit is contained in:
sallycn 2021-04-26 17:57:15 +08:00 committed by GitHub
parent 03ae3006e1
commit b46d8578fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ describe('component: emit', () => {
expect(fn1).toHaveBeenCalledTimes(1) expect(fn1).toHaveBeenCalledTimes(1)
expect(fn1).toHaveBeenCalledWith(1) expect(fn1).toHaveBeenCalledWith(1)
expect(fn2).toHaveBeenCalledTimes(1) expect(fn2).toHaveBeenCalledTimes(1)
expect(fn1).toHaveBeenCalledWith(1) expect(fn2).toHaveBeenCalledWith(1)
}) })
test('warning for undeclared event (array)', () => { test('warning for undeclared event (array)', () => {