-
Notifications
You must be signed in to change notification settings - Fork 7
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
Not compatible with chai v4 #12
Comments
After some testing I think it's because I'm using chai v4. This plugin doesn't seem compatible with the latest chai version. I've updated the title of the issue to reflect that. |
I have looked a bit into this, something breaks in chai when the https://runkit.com/harrysarson/chai-to-does-not-work-with-chai-iterator Will look into this a bit more in a bit. |
The problem is that the chainable method I will make a pr. |
ping @mcmath |
This code:
Throws the following error.
Here is a repo with reproduction: https://github.com/nunof07/chai-iterator-test
Can't quite figure out is going wrong.
_obj
is undefined inAssertion.addProperty
.The text was updated successfully, but these errors were encountered: