test: fix typo in expect message (#2678)
This commit is contained in:
parent
73117f6b5b
commit
1f567264a7
@ -140,7 +140,7 @@ describe('component: emit', () => {
|
|||||||
})
|
})
|
||||||
render(h(Foo), nodeOps.createElement('div'))
|
render(h(Foo), nodeOps.createElement('div'))
|
||||||
expect(
|
expect(
|
||||||
`Component emitted event "bar" but it is neither declared`
|
`Component emitted event "foo" but it is neither declared`
|
||||||
).not.toHaveBeenWarned()
|
).not.toHaveBeenWarned()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user