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

[testing] logCountAssert counts are optional #6

Merged
merged 2 commits into from
Aug 2, 2018

Conversation

mike-north
Copy link
Contributor

With this change, developers no longer have to assert on all four logging counts, they can assert on as many as they wish.

Example: I want to assert that 30 warnings were logged

Before
logCountAssert(...., { w: 30, e: 0, l: 0, d: 0 });
Now
logCountAssert(...., { w: 30 });

Copy link
Owner

@lisaychuang lisaychuang left a comment

Choose a reason for hiding this comment

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

:shipit:

@lisaychuang lisaychuang merged commit 230a7ad into lisaychuang:master Aug 2, 2018
@lisaychuang
Copy link
Owner

Thank you for your contribution!

@lisaychuang
Copy link
Owner

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants