From 9f24aa09e57c1be8f44c08daead4a102138562a4 Mon Sep 17 00:00:00 2001 From: Th3Un1q3 <19877114+Th3Un1q3@users.noreply.github.com> Date: Thu, 10 Sep 2020 15:05:50 +0300 Subject: [PATCH 1/2] Update find -> find components in options doc It was older name of the method used for examples. --- docs/api/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/options.md b/docs/api/options.md index dddf6366e..fcd76acd7 100644 --- a/docs/api/options.md +++ b/docs/api/options.md @@ -206,7 +206,7 @@ const WrapperComp = { ComponentUnderTest } } -const wrapper = mount(WrapperComp).find(ComponentUnderTest) +const wrapper = mount(WrapperComp).findComponent(ComponentUnderTest) ``` ## stubs From d98a7f8109cc68e573dd9b3f8e68b6dbada20e8a Mon Sep 17 00:00:00 2001 From: Th3Un1q3 <19877114+Th3Un1q3@users.noreply.github.com> Date: Thu, 10 Sep 2020 15:13:10 +0300 Subject: [PATCH 2/2] Option doc update find -> findComponent in example zn version --- docs/zh/api/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/api/options.md b/docs/zh/api/options.md index 65df63f6a..3613caa42 100644 --- a/docs/zh/api/options.md +++ b/docs/zh/api/options.md @@ -204,7 +204,7 @@ const WrapperComp = { ComponentUnderTest } } -const wrapper = mount(WrapperComp).find(ComponentUnderTest) +const wrapper = mount(WrapperComp).findComponent(ComponentUnderTest) ``` ## stubs