department-of-veterans-affairs / va-forms-system-core

VA Forms System Core will be a React library hosted in NPM that will allow engineers and designers to easily interact with Forms inside of vets-website.
https://department-of-veterans-affairs.github.io/va-forms-system-core/
6 stars 4 forks source link

Fix radio button test case for passing a custom function when onChange is triggered for a component #598

Open harshil1793 opened 2 years ago

harshil1793 commented 2 years ago

Description

This is a follow on to ticket #531. Fixing test case for spying in RadioGroupField component which is currently being skipped.

Consideration

On debugging found that the value is not getting updated. Following things were tried to solve the test case:

Acceptance Criteria