-
Notifications
You must be signed in to change notification settings - Fork 37
[FSSDK-10439] client provider test #278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FSSDK-10439] client provider test #278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are your thoughts on splitting out client.spec.ts into separate files? Along with less cognitive load for review/maintenance, I think we get some speed of execution benefit too. 🤔
Otherwise, LGTM
NIT: I like a bit of whitespace between test blocks, and even to separate the arrange-act-assert within each test. imho |
Thats a good suggestion. Let me do that |
I like your suggestion. But its not uncommon to have a single test file against a single module. It offers easier context management as well. |
Summary
Significant improvements were made to the test coverage of the "Client" and "Provider files.
The coverage reports have been generated with the help of "Istanbul" that is the default coverage tool of "Jest". Here are the commands that I have used to generate the coverage report -
Test plan
A total of 52 new tests were added, covering previously missing cases and deprecated API updates.
Issues