You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I change, for example, retweeted: Boolean on line 22 to retweeted: Array, the spec still passes. The same goes for any type I choose. I would expect this test to fail if the value here is anything other than Boolean.
I've also tested this against the frisby_matchers_spec.js tests. As far as I can see it doesn't matter what I change the expectJSONTypes tests to check against, they never fail.
The text was updated successfully, but these errors were encountered:
I can't seem to get any expectJSONTypes tests to fail. As an example, I've used the Frisby Twitter example spec: https://github.com/vlucas/frisby/blob/master/examples/twitter_feed_spec.js
If I change, for example,
retweeted: Boolean
on line 22 toretweeted: Array
, the spec still passes. The same goes for any type I choose. I would expect this test to fail if the value here is anything other than Boolean.I've also tested this against the
frisby_matchers_spec.js
tests. As far as I can see it doesn't matter what I change the expectJSONTypes tests to check against, they never fail.The text was updated successfully, but these errors were encountered: