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 4 #10175

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/api/queryClient.ts: 31.57% src/api/secureMessaging/sendMessage.tsx: 34.14%

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

3

Testing Considerations

Passing unit tests with appropriate coverage constitutes success.

Checklist