This lesson is for PRO members.

Unlock this lesson NOW!
Already subscribed? sign in

Custom Jasmine 1.3 Matchers

1:30 Angular 1.x lesson by

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.

Get the Code Now
click to level up

egghead.io comment guidelines

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?