]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: fix typo in expect message (#2678)
authorAlan Wang <948467222@qq.com>
Fri, 5 Feb 2021 19:06:21 +0000 (03:06 +0800)
committerGitHub <noreply@github.com>
Fri, 5 Feb 2021 19:06:21 +0000 (20:06 +0100)
packages/runtime-core/__tests__/componentEmits.spec.ts

index 2fb1fbb068a30b4435a6cf6e0178e32db7662ca4..1eb216d9f098e73b3f3327e9d2187a6b834ee713 100644 (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()
   })