Fix scheduler-orchestrator spec to use SCHEDULER_API mock
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -123,12 +123,7 @@ describe('scheduler-orchestrator-ops-ui behavior', () => {
|
|||||||
imports: [SchedulerRunsComponent],
|
imports: [SchedulerRunsComponent],
|
||||||
providers: [
|
providers: [
|
||||||
provideRouter([]),
|
provideRouter([]),
|
||||||
{
|
{ provide: SCHEDULER_API, useValue: createSchedulerApiMock() },
|
||||||
provide: HttpClient,
|
|
||||||
useValue: {
|
|
||||||
get: () => of([]),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user