Is there a way to print a custom error message when a Jasmine expect() fails?
expect()
As an example, for end to end testing I have an array of web pages and I u
Since Jasmine 3.3, there's a way to do it through withContext
Example:
expect(someValue).withContext('expected someValue to be true...').toBe(true)
See also https://github.com/jasmine/jasmine/issues/641#issuecomment-457037665