No provider for HttpClient! test error code example Example: No provider for HttpClient! import { HttpClientModule } from '@angular/common/http';