From 54ad077a3e5dac84e52cb2a7de08a26b9b90b972 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlyuts Date: Mon, 12 Feb 2024 18:22:13 +0300 Subject: [PATCH] fix(teleport.md): fix missed "global" key, https://github.com/vuejs/test-utils/pull/2336 --- docs/fr/guide/advanced/teleport.md | 6 ++++-- docs/guide/advanced/teleport.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/fr/guide/advanced/teleport.md b/docs/fr/guide/advanced/teleport.md index bd3cefb81..9f5773ed3 100644 --- a/docs/fr/guide/advanced/teleport.md +++ b/docs/fr/guide/advanced/teleport.md @@ -195,8 +195,10 @@ import Navbar from './Navbar.vue' test('teleport', async () => { const wrapper = mount(Navbar, { - stubs: { - teleport: true + global: { + stubs: { + teleport: true + } } }) }) diff --git a/docs/guide/advanced/teleport.md b/docs/guide/advanced/teleport.md index e6bc3f9dc..5c0cb8778 100644 --- a/docs/guide/advanced/teleport.md +++ b/docs/guide/advanced/teleport.md @@ -195,8 +195,10 @@ import Navbar from './Navbar.vue' test('teleport', async () => { const wrapper = mount(Navbar, { - stubs: { - teleport: true + global: { + stubs: { + teleport: true + } } }) })