From 07cb28310147712a9f2945de58e005805bf3b374 Mon Sep 17 00:00:00 2001 From: Curt Grimes Date: Fri, 16 Feb 2024 08:19:52 -0600 Subject: [PATCH] docs: update FormContext and FieldContext permalinks Previously, the links to `FormContext` and `FieldContext` were broken and linked to an old location when types.ts existed. Now they are fixed and link correctly to the newer forms.ts file. --- docs/src/pages/guide/testing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/guide/testing.mdx b/docs/src/pages/guide/testing.mdx index d45e53ed5..b71e9bba3 100644 --- a/docs/src/pages/guide/testing.mdx +++ b/docs/src/pages/guide/testing.mdx @@ -131,4 +131,4 @@ provide(FormContextKey, MockedForm); provide(FieldContextKey, MockedField); ``` -To learn more about the mock details you should check the source code and see the typescript interfaces for [`FormContext`](https://github.com/logaretm/vee-validate/blob/main/packages/vee-validate/src/types.ts#L145) and [`FieldContext`](https://github.com/logaretm/vee-validate/blob/main/packages/vee-validate/src/types.ts#L66) objects and implement them as mocks. +To learn more about the mock details you should check the source code and see the typescript interfaces for [`FormContext`](https://github.com/logaretm/vee-validate/blob/main/packages/vee-validate/src/types/forms.ts#L387) and [`FieldContext`](https://github.com/logaretm/vee-validate/blob/main/packages/vee-validate/src/types/forms.ts#L164) objects and implement them as mocks.