javascript - "Uncaught [object Object] thrown - zone.js" error thrown when mocking response (Angular2) -
a strange error happening, apparently when try mock particular http response using angular2 / jasmine. i've narrowed down when have call httpmock.mockresponse
happens, , if comment out, not.
the error just:
zone.js:260 uncaught [object object] thrown zone.runtask @ zone.js:260 zonetask.invoke @ zone.js:423
there no further information given though. ideas how start debug such error?
i using chome devtools test.
Comments
Post a Comment