test: fix typo in expect message (#2678)

This commit is contained in:
Alan Wang
2021-02-06 03:06:21 +08:00
committed by GitHub
parent 73117f6b5b
commit 1f567264a7

View File

@@ -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()
})