Explorar el Código

chore: fix typo in assertion

sallycn hace 5 años
padre
commit
b46d8578fd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)', () => {