diff --git a/packages/runtime-core/__tests__/componentEmits.spec.ts b/packages/runtime-core/__tests__/componentEmits.spec.ts index 2fb1fbb0..1eb216d9 100644 --- a/packages/runtime-core/__tests__/componentEmits.spec.ts +++ b/packages/runtime-core/__tests__/componentEmits.spec.ts @@ -140,7 +140,7 @@ describe('component: emit', () => { }) render(h(Foo), nodeOps.createElement('div')) expect( - `Component emitted event "bar" but it is neither declared` + `Component emitted event "foo" but it is neither declared` ).not.toHaveBeenWarned() })