Skip to content

Commit 1f56726

Browse files
author
Alan Wang
authored
test: fix typo in expect message (#2678)
1 parent 73117f6 commit 1f56726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe('component: emit', () => {
140140
})
141141
render(h(Foo), nodeOps.createElement('div'))
142142
expect(
143-
`Component emitted event "bar" but it is neither declared`
143+
`Component emitted event "foo" but it is neither declared`
144144
).not.toHaveBeenWarned()
145145
})
146146

0 commit comments

Comments
 (0)