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
Testing: TypeError: 'undefined' is not an object (evaluating 'response.config.ignoreLoadingBar')
Apparently I did not mock out the LoadingBar HTTP Interceptor. How to achieve this or surpress this error message while running tests (with karma and jasmine in my case). I tried injecting cfpLoadingBarProvider into my beforeEach hook but it fails because it is not a injectible module .
The text was updated successfully, but these errors were encountered:
There shouldn't really be any difference in your unit tests, meaning it should just work. My guess is you have an interceptor that is not working properly, or perhaps you've mocked out an interceptor and you're not returning a config object. See #50 for more information on this.
When Unit Testing my App I am seeing:
Apparently I did not mock out the LoadingBar HTTP Interceptor. How to achieve this or surpress this error message while running tests (with karma and jasmine in my case). I tried injecting
cfpLoadingBarProvider
into my beforeEach hook but it fails because it is not a injectible module .The text was updated successfully, but these errors were encountered: