April 2015
Intermediate to advanced
276 pages
5h 38m
English
Jasmine provides a rich set of matchers to test JavaScript code. In this recipe, you will learn to apply various matchers in different situations.
To understand this recipe, let's assume that you are developing an application and you have to implement test code for various scenarios by applying different Jasmine matchers.
"As a developer, I want to apply different Jasmine matchers so that I can implement a test condition successfully."
Let's consider some scenarios in the preceding context, that is, where Jasmine matchers should be applied for different test conditions:
toMatch' matcher should be applied successfully for regular expressionstoEqual' matcher should be ...Read now
Unlock full access