-
Notifications
You must be signed in to change notification settings - Fork 201
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
expectJSONTypes: Can't use custom functions in nested objects #93
Comments
Is this (or has this) being addressed? |
I believe I have a fix for this issue and #94. I'll make a PR against the master branch, but I also have a fix against the release-fix branch (currently 0.8.5) at https://github.com/marclitchfield/frisby/tree/release-fix-nested-objects. I would be interested in learning if this resolves the issue you describe. |
@vlucas Is this (or has this) being addressed? |
I am running into this issue. Has anyone tested #180 to see if it fixes the issue? |
I am still running into this issue as well. |
Bump. Me, too. |
Has this issue been resolved? I'm running into it if someone can redirect me that would be great |
This will never work in 0.x due to the reasons outlined in #316. Please update to v2. |
When i use expectJSONTypes to make tests using json test objects like this:
It works. It executes the
toBeTypeOrNull
matcher and everything is ok. But when i try to use a function like this:The jasmine matcher is never reached. It's not being executed. Instead, it will throw an error when executed against another object:
The text was updated successfully, but these errors were encountered: