-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
Integrated chai-subset
and added assert-based negation to containSubset
#1664
Conversation
we should also add tests for using this with should and assert style assertions otherwise looks good so far though 👍 |
…bset PR Feedback
@43081j I'm not sure if it's necessary to run the full battery of tests in each assertion style - is it not enough to ensure that they actually call the right function, since all three styles ultimately just call the same |
Fixed merge conflict with the change in method of declaring aliases. Ready for re-review. |
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.
This is looking good to me but I'll let @43081j have the final approval
looks good to me 👍 big thanks for implementing this 🙏 |
Thanks @BreadInvasion ❤️ |
A revival of @koddsson 's previous attempt at merging the abandoned
chai-subset
functionality, with some added comments and an assert-style negation of containSubset which was not present in the original package. I know there was some concern about code duplication in the original PR, so I'm happy to respond to feedback! Thanks all.Fixes #1616