You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following error on a jasmine test case while running Chrome :
Expected null to equal <jasmine.any(function Array() { [native code] })>.
The same error has \n while using PhantomJS like so :
Expected null to equal <jasmine.any(function Array() {
[native code]
})>.
And, while computing relevantMessage in adapter.js the first line doesn't match the message because it contains an Error: but the second line is taken as a relevant message from the stack, thus causing the final message to be :
[native code]
})>.
And the relevant stack contains just the first line, like so:
Expected null to equal <jasmine.any(function Array() {
at . . .
Fix : remove the Error: while checking to see if a stack entry matches the message in src/adapter.js:80
The text was updated successfully, but these errors were encountered:
I have the following error on a jasmine test case while running Chrome :
The same error has
\n
while using PhantomJS like so :And, while computing
relevantMessage
inadapter.js
the first line doesn't match the message because it contains anError:
but the second line is taken as a relevant message from the stack, thus causing the final message to be :And the relevant stack contains just the first line, like so:
Fix : remove the
Error:
while checking to see if a stack entry matches the message insrc/adapter.js:80
The text was updated successfully, but these errors were encountered: