Przeglądaj źródła

chore: fix typo in assertion

sallycn 5 lat temu
rodzic
commit
b46d8578fd

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