]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: fix missed warning assertion
authorEvan You <evan@vuejs.org>
Fri, 7 Mar 2025 12:25:08 +0000 (20:25 +0800)
committerEvan You <evan@vuejs.org>
Fri, 7 Mar 2025 12:49:21 +0000 (20:49 +0800)
packages/runtime-vapor/__tests__/apiCreateVaporApp.spec.ts

index 4bd3528f447ea86c514891355fea09e58f3f2532..c82d432f1d4201435b1d12f95928434111b74701 100644 (file)
@@ -35,8 +35,10 @@ describe('api: createVaporApp', () => {
     const root1 = document.createElement('div')
     createVaporApp(Comp).mount(root1)
     expect(root1.innerHTML).toBe(`0`)
+
     //#5571 mount multiple apps to the same host element
     createVaporApp(Comp).mount(root1)
+    expect(`mount target container is not empty`).toHaveBeenWarned()
     expect(
       `There is already an app instance mounted on the host container`,
     ).toHaveBeenWarned()