Great article! I just created an account just to thank you!
Bünyamin Coşkuner
3

I am facing this same issue with ‘toBeDefined’ and ‘toBeUndefined’ and still don’t get why ‘ toBeUndefined’ does not work, while ‘toBeDefined’ does… If its harder for Jasmine to go through this huge Object, why does it actually works for one and not for the other ? I took a look at the jasmine implementation of these 2 matchers, they look pretty similar…

Like what you read? Give Melkis a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.