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
Four frontend specs bypass HttpClientTestingModule #5182
Four frontend specs hit the real Angular HttpClient instead of routing through HttpClientTestingModule. Unit tests should mock HTTP rather than depend on a working backend or hand-rolled HTTP doubles, both for CI stability and to match the convention in frontend/TESTING.md §"Anti-patterns".
Affected specs:
frontend/src/app/workspace/service/workflow-status/operator-reuse-cache-status.service.spec.ts — imports the real HttpClientModule.
frontend/src/app/workspace/service/operator-menu/operator-menu.service.spec.ts — imports the real HttpClientModule.
frontend/src/app/workspace/service/execute-workflow/execute-workflow.service.spec.ts — ships a hand-rolled StubHttpClient.
frontend/src/app/dashboard/component/user/user-computing-unit/user-computing-unit.component.spec.ts — provides the real HttpClient token directly.
Activity
test(frontend): route specs through HttpClientTestingModule and lint-…
test(frontend): route specs through HttpClientTestingModule and lint-…