Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

StaticInjectorError exception for user defined HttpInterceptor

beforeEach(() => TestBed.configureTestingModule({
    declarations: [],
    providers: [RequestInterceptor],
    imports: [HttpClientModule, FormsModule, RouterTestingModule]
  }));
 
PREVIOUS NEXT
Tagged: #StaticInjectorError #exception #user #defined #HttpInterceptor
ADD COMMENT
Topic
Name
1+2 =