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