Jelajahi Sumber

chore: fix typo in assertion

sallycn 5 tahun lalu
induk
melakukan
b46d8578fd
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/runtime-core/__tests__/componentEmits.spec.ts

+ 1 - 1
packages/runtime-core/__tests__/componentEmits.spec.ts

@@ -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)', () => {