]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo in assertion
authorsallycn <sallyhuangcn@yeah.net>
Mon, 26 Apr 2021 09:57:15 +0000 (17:57 +0800)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 09:57:15 +0000 (17:57 +0800)
packages/runtime-core/__tests__/componentEmits.spec.ts

index f63933428f25ee7104a2602cf821217849b66823..35bb0fa29f14cea784ad7c94876a0b5693459053 100644 (file)
@@ -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)', () => {