From 3720111d04e4d901a295980bdb1f5c40ca857c9e Mon Sep 17 00:00:00 2001 From: bluebill1049 Date: Wed, 1 Apr 2020 19:35:30 +1100 Subject: [PATCH] fix unit tests --- src/useForm.test.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/useForm.test.tsx b/src/useForm.test.tsx index 3aad2290ae9..11cf3d8204c 100644 --- a/src/useForm.test.tsx +++ b/src/useForm.test.tsx @@ -22,6 +22,9 @@ export const reconfigureControl = ( fieldsWithValidationRef: { current: new Set(), }, + fieldArrayDefaultValues: { + current: {}, + }, watchFieldsRef: { current: new Set(), },