@@ -187,12 +187,12 @@ exports[`FormTemplate PF4 Common should add missing buttons if not defined in bu
187187 disabled = { true }
188188 key = " form-reset"
189189 label = " Reset"
190- onClick = { [Function ]}
190+ onClick = { [MockFunction ]}
191191 type = " button"
192192 >
193193 <Component
194194 isDisabled = { true }
195- onClick = { [Function ]}
195+ onClick = { [MockFunction ]}
196196 type = " button"
197197 variant = " secondary"
198198 >
@@ -205,7 +205,7 @@ exports[`FormTemplate PF4 Common should add missing buttons if not defined in bu
205205 undefined ,
206206 ],
207207 " isDisabled" : true ,
208- " onClick" : [Function ],
208+ " onClick" : [MockFunction ],
209209 " type" : " button" ,
210210 " variant" : " secondary" ,
211211 }
@@ -214,7 +214,7 @@ exports[`FormTemplate PF4 Common should add missing buttons if not defined in bu
214214 >
215215 <Button
216216 isDisabled = { true }
217- onClick = { [Function ]}
217+ onClick = { [MockFunction ]}
218218 ouiaContext = {
219219 Object {
220220 " isOuia" : false ,
@@ -229,7 +229,7 @@ exports[`FormTemplate PF4 Common should add missing buttons if not defined in bu
229229 aria-label = { null }
230230 className = " pf-c-button pf-m-secondary"
231231 disabled = { true }
232- onClick = { [Function ]}
232+ onClick = { [MockFunction ]}
233233 tabIndex = { null }
234234 type = " button"
235235 >
@@ -242,11 +242,11 @@ exports[`FormTemplate PF4 Common should add missing buttons if not defined in bu
242242 <Button
243243 key = " form-cancel"
244244 label = " Cancel"
245- onClick = { [Function ]}
245+ onClick = { [MockFunction ]}
246246 type = " button"
247247 >
248248 <Component
249- onClick = { [Function ]}
249+ onClick = { [MockFunction ]}
250250 type = " button"
251251 variant = " secondary"
252252 >
@@ -259,15 +259,15 @@ exports[`FormTemplate PF4 Common should add missing buttons if not defined in bu
259259 undefined ,
260260 ],
261261 " isDisabled" : undefined ,
262- " onClick" : [Function ],
262+ " onClick" : [MockFunction ],
263263 " type" : " button" ,
264264 " variant" : " secondary" ,
265265 }
266266 }
267267 consumerContext = { null }
268268 >
269269 <Button
270- onClick = { [Function ]}
270+ onClick = { [MockFunction ]}
271271 ouiaContext = {
272272 Object {
273273 " isOuia" : false ,
@@ -282,7 +282,7 @@ exports[`FormTemplate PF4 Common should add missing buttons if not defined in bu
282282 aria-label = { null }
283283 className = " pf-c-button pf-m-secondary"
284284 disabled = { false }
285- onClick = { [Function ]}
285+ onClick = { [MockFunction ]}
286286 tabIndex = { null }
287287 type = " button"
288288 >
@@ -494,11 +494,11 @@ exports[`FormTemplate PF4 Common should render all controls and with default lab
494494 <Button
495495 key = " form-cancel"
496496 label = " Cancel"
497- onClick = { [Function ]}
497+ onClick = { [MockFunction ]}
498498 type = " button"
499499 >
500500 <Component
501- onClick = { [Function ]}
501+ onClick = { [MockFunction ]}
502502 type = " button"
503503 variant = " secondary"
504504 >
@@ -511,15 +511,15 @@ exports[`FormTemplate PF4 Common should render all controls and with default lab
511511 undefined ,
512512 ],
513513 " isDisabled" : undefined ,
514- " onClick" : [Function ],
514+ " onClick" : [MockFunction ],
515515 " type" : " button" ,
516516 " variant" : " secondary" ,
517517 }
518518 }
519519 consumerContext = { null }
520520 >
521521 <Button
522- onClick = { [Function ]}
522+ onClick = { [MockFunction ]}
523523 ouiaContext = {
524524 Object {
525525 " isOuia" : false ,
@@ -534,7 +534,7 @@ exports[`FormTemplate PF4 Common should render all controls and with default lab
534534 aria-label = { null }
535535 className = " pf-c-button pf-m-secondary"
536536 disabled = { false }
537- onClick = { [Function ]}
537+ onClick = { [MockFunction ]}
538538 tabIndex = { null }
539539 type = " button"
540540 >
@@ -715,11 +715,11 @@ exports[`FormTemplate PF4 Common should render buttons in correct order 1`] = `
715715 <Button
716716 key = " form-cancel"
717717 label = " Cancel"
718- onClick = { [Function ]}
718+ onClick = { [MockFunction ]}
719719 type = " button"
720720 >
721721 <Component
722- onClick = { [Function ]}
722+ onClick = { [MockFunction ]}
723723 type = " button"
724724 variant = " secondary"
725725 >
@@ -732,15 +732,15 @@ exports[`FormTemplate PF4 Common should render buttons in correct order 1`] = `
732732 undefined ,
733733 ],
734734 " isDisabled" : undefined ,
735- " onClick" : [Function ],
735+ " onClick" : [MockFunction ],
736736 " type" : " button" ,
737737 " variant" : " secondary" ,
738738 }
739739 }
740740 consumerContext = { null }
741741 >
742742 <Button
743- onClick = { [Function ]}
743+ onClick = { [MockFunction ]}
744744 ouiaContext = {
745745 Object {
746746 " isOuia" : false ,
@@ -755,7 +755,7 @@ exports[`FormTemplate PF4 Common should render buttons in correct order 1`] = `
755755 aria-label = { null }
756756 className = " pf-c-button pf-m-secondary"
757757 disabled = { false }
758- onClick = { [Function ]}
758+ onClick = { [MockFunction ]}
759759 tabIndex = { null }
760760 type = " button"
761761 >
@@ -818,12 +818,12 @@ exports[`FormTemplate PF4 Common should render buttons in correct order 1`] = `
818818 disabled = { true }
819819 key = " form-reset"
820820 label = " Reset"
821- onClick = { [Function ]}
821+ onClick = { [MockFunction ]}
822822 type = " button"
823823 >
824824 <Component
825825 isDisabled = { true }
826- onClick = { [Function ]}
826+ onClick = { [MockFunction ]}
827827 type = " button"
828828 variant = " secondary"
829829 >
@@ -836,7 +836,7 @@ exports[`FormTemplate PF4 Common should render buttons in correct order 1`] = `
836836 undefined ,
837837 ],
838838 " isDisabled" : true ,
839- " onClick" : [Function ],
839+ " onClick" : [MockFunction ],
840840 " type" : " button" ,
841841 " variant" : " secondary" ,
842842 }
@@ -845,7 +845,7 @@ exports[`FormTemplate PF4 Common should render buttons in correct order 1`] = `
845845 >
846846 <Button
847847 isDisabled = { true }
848- onClick = { [Function ]}
848+ onClick = { [MockFunction ]}
849849 ouiaContext = {
850850 Object {
851851 " isOuia" : false ,
@@ -860,7 +860,7 @@ exports[`FormTemplate PF4 Common should render buttons in correct order 1`] = `
860860 aria-label = { null }
861861 className = " pf-c-button pf-m-secondary"
862862 disabled = { true }
863- onClick = { [Function ]}
863+ onClick = { [MockFunction ]}
864864 tabIndex = { null }
865865 type = " button"
866866 >
0 commit comments