I have a react/typescript project, using jest, where I have a custom matcher like: which I reference in my tests by doing inside the describe funct ...
I have a react/typescript project, using jest, where I have a custom matcher like: which I reference in my tests by doing inside the describe funct ...
I have a simple need: to use my own custom matchers in Jasmine unit tests within an Angular CLI project (Angular v6). A couple constraints: I do n ...
I installed the jasmine-jquery-matchers library using npm into my Angular 6 app. Running the tests brings up the following error: Here is my test s ...
I'd need a replacement for the jasmine.addMatchers function gone in version 1.3. The current API allows to add matchers to a describe block, but I'd p ...
Im going to create a custom matcher in Jasmine 2.0 to verify spies against some additional conditions. In huge simplification, something like: My q ...
I am trying to implement a custom matcher for Jasmine where I would like to check if the given object property values lie within the range of the othe ...
I am trying to add typescript definition to a jasmine matcher library. I was able to add the matchers for the generic type T but now i want to add ma ...
I'm using jasmine on an angular2 project and having some trouble writing a custom matcher for a test. I want to be able to compare two relatively comp ...
What is the difference between expect(something).toBe(true), expect(something).toBeTruthy() and expect(something).toBeTrue()? Note that toBeTrue() is ...
Here is the failing test: where MyPage is a Page Object: where errors supposed to be an array of visible error texts found on a page. Here is t ...
In Jasmine, there are toBeGreaterThan and toBeLessThan matchers. What if I want to check an integer value in a specific range? Is there anything like ...
I have a page with text in different HTML elements and I want a quick way of verifying the text. Using jasmine and jasmine-query to load HTML and tes ...
There are plenty of documents that show how to add a matcher to a Jasmine spec (here, for example). Has anyone found a way to add matchers to the who ...