Yicong-Huang opened a new issue, #5184:
URL: https://github.com/apache/texera/issues/5184

   ### Task Summary
   
   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`.
   
   ### Task Type
   
   - [x] Testing / QA


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to