From 3e60ccc5f348d751d1c00771df8d576067d2a962 Mon Sep 17 00:00:00 2001 From: Denny Crall Date: Tue, 24 May 2022 09:06:10 -0500 Subject: [PATCH] Update reusability-composition.md (#1535) Inject documentation incorrectly uses `global.provides` instead of `global.provide`. You can see `provide` is the correct key at the following locations: - https://github.com/vuejs/test-utils#mounting-options - https://github.com/vuejs/test-utils/blob/main/tests/mountingOptions/global.provides.spec.ts#L17 --- docs/guide/advanced/reusability-composition.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/advanced/reusability-composition.md b/docs/guide/advanced/reusability-composition.md index c51a65546..adca144df 100644 --- a/docs/guide/advanced/reusability-composition.md +++ b/docs/guide/advanced/reusability-composition.md @@ -180,7 +180,7 @@ test('provides correct data', () => { ### Testing `inject` -When your Component uses `inject` and you need to pass data with `provide`, then you can use the `global.provides` option. +When your Component uses `inject` and you need to pass data with `provide`, then you can use the `global.provide` option. ```vue