Jasmin Matchers in angular unit test case
What are matchers
Matchers are nothing but compare functions to actually compare the expected and actual result in the test specs.
Matchers are the JavaScript function that does a Boolean comparison between an actual output and an expected output.
There are two type of matchers Inbuilt matcher and Custom matchers.
Inbuilt Matcher
The matchers which are inbuilt in the Jasmine framework are called inbuilt matcher. The user can easily use it implicitly.
Custom Matchers
The matchers which are not present in the inbuilt system library of Jasmine is called as custom matcher. Custom matcher needs to be defined explicitly().
you can learn more it from below video
EmoticonEmoticon