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 8 #10179

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/Menu/Menu.tsx: 40% src/api/prescriptions/requestRefills.tsx: 41.66%

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