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/
17 stars 2 forks source link

CU - Improve unit test coverage, part 1 #10165

Open alexandec opened 1 week ago

alexandec commented 1 week ago

Proposed Change

Improve unit test coverage for the following files (current coverage is shown):

src/components/PhotoUpload.tsx: 0% src/utils/homeScreenAlerts.ts: 0% src/utils/rnInAppUpdate.tsx: 0%

See our test coverage best practices for important considerations around coverage.

Why Should We Prioritize?

Improved test coverage helps us catch regressions faster, reducing development time and cutting down on bug frequency.

Coding Time Estimation

5

Testing Considerations

Passing unit tests with appropriate coverage constitutes success.

Checklist