department-of-veterans-affairs / va-mobile-app

"If VA were a company, it would have a flagship mobile app."
https://department-of-veterans-affairs.github.io/va-mobile-app/
15 stars 2 forks source link

CU - Set up translation referencing in unit tests #5743

Open narin opened 1 year ago

narin commented 1 year ago

Proposed Change

We want to reference our translations in our unit tests rather than hardcoded strings. In order to do this, need to set up the react-i18next package with Jest. See https://react.i18next.com/misc/testing

Why Should We Prioritize?

Coding Time Estimation

2 x-small <1/2 a day

Testing Considerations

TKDickson commented 2 days ago

Unit tests in question are all Health, so @rbontrager assigning your way (for what is currently on track to be a no QA)