How to configure jasmine to logout message when expect was failed

140 Views Asked by At

I have a Jasmine check point to check the expect error message, and when the check point was failed, I only get the following message:

Error: Failed expectation

Question is, is there any configuration to let jasmine output the actual message?

expect(messageInfo).toContain("unauthorized");

0

There are 0 best solutions below