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
{{ message }}
Repository navigation
Add an ESLint rule that forbids the real HttpClient in frontend specs #5184
The repo has just been swept clean of specs that wire the real HttpClient instead of HttpClientTestingModule. To stop the pattern from creeping back, add an ESLint override in frontend/.eslintrc.json that fires on *.spec.ts files and forbids importing HttpClient or HttpClientModule from @angular/common/http. The error message should redirect contributors to HttpClientTestingModule from @angular/common/http/testing, which is the convention documented in frontend/TESTING.md.
Activity
test(frontend): route specs through HttpClientTestingModule and lint-…
test(frontend): route specs through HttpClientTestingModule and lint-…