The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Custom Jasmine 1.3 Matchers

Custom Jasmine 1.3 Matchers

1:30
Custom Jasmine Matchers are a great way to keep your AngularJS Unit Tests clean and tidy. We want to make expectations **readable** and express the intent of the test. Custom matchers help to accomplish this.
Watch this lesson now
Avatar
egghead.io

Custom Jasmine Matchers are a great way to keep your AngularJS Unit Tests clean and tidy. We want to make expectations readable and express the intent of the test. Custom matchers help to accomplish this.

Avatar
Jaime

This example is only valid for jasmine 1.3.x. Since Jasmine 2.x, this code/example will no longer work. Maybe this video should be delete/upgraded or change the description to make it clear.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?