Skip to content
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

feat(jest): 100% coverage for utilities/chat #4495

Merged
merged 1 commit into from
Aug 29, 2022
Merged

feat(jest): 100% coverage for utilities/chat #4495

merged 1 commit into from
Aug 29, 2022

Conversation

drepram
Copy link
Contributor

@drepram drepram commented Aug 26, 2022

What this PR does πŸ“–

Increase coverage for two untested cases.

Which issue(s) this PR fixes πŸ”¨

AP-2247

Special notes for reviewers πŸ—’οΈ

Additional comments 🎀

@github-actions github-actions bot added the Missing Dev Review A Dev and a Dev Approver need to review the PR, then mark as Ready for QA label Aug 26, 2022
Copy link
Contributor

@josephmcg josephmcg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

going to approve because it doesn't hurt. but an object is always truthy, this doesn't really test anything

@josephmcg josephmcg merged commit c202524 into dev Aug 29, 2022
@josephmcg josephmcg deleted the AP-2247 branch August 29, 2022 00:14
@github-actions github-actions bot removed the Missing Dev Review A Dev and a Dev Approver need to review the PR, then mark as Ready for QA label Aug 29, 2022
@stavares843
Copy link
Member

@josephmcg let us know what we should address there and we can address your comments on a new PR considering this one was already merged πŸ”¨

@josephmcg
Copy link
Contributor

josephmcg commented Aug 29, 2022

oh im sorry, I was totally reading it incorrectly (monday morning brain). this works fine

100% my bad

image

@josephmcg
Copy link
Contributor

would avoid casting as 'any' as a rule of thumb, especially if we know the type (boolean in this case)

@stavares843
Copy link
Member

πŸ˜‚

thanks @josephmcg πŸ”¨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants