I am trying to unit test this interceptor. Specifically, I need to assert the logic for when it throws an exception with a message. However, the unit test is giving me a No provider for HttpRequestInterceptor! when I use interceptor = TestBed.get(HttpRequestInterceptor); . Any ideas what is wrong, please?
#No provider for HttpRequestInterceptor with TestBed.get() even though I am providing it
1 messages · Page 1 of 1 (latest)