File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,8 @@ export function getMatIconNameNotFoundError(iconName: string): Error {
39
39
*/
40
40
export function getMatIconNoHttpProviderError ( ) : Error {
41
41
return Error (
42
- 'Could not find HttpClient provider for use with Angular Material icons. ' +
43
- 'Please include the HttpClientModule from @angular/common/http in your ' +
44
- 'app imports.' ,
42
+ 'Could not find HttpClient for use with Angular Material icons. ' +
43
+ 'Please add provideHttpClient() to your providers.' ,
45
44
) ;
46
45
}
47
46
Original file line number Diff line number Diff line change 1
1
import { wrappedErrorMessage } from '@angular/cdk/testing/private' ;
2
+ import { HttpClientModule } from '@angular/common/http' ;
2
3
import {
3
4
HttpClientTestingModule ,
4
5
HttpTestingController ,
You can’t perform that action at this time.
0 commit comments