test(team): add child mock to provisioning prepare test runs
This commit is contained in:
parent
6c98417659
commit
91c151328c
1 changed files with 3 additions and 0 deletions
|
|
@ -2537,6 +2537,7 @@ describe('TeamProvisioningService prepare/auth behavior', () => {
|
|||
activeToolCalls: new Map(),
|
||||
leadActivityState: 'active',
|
||||
leadContextUsage: null,
|
||||
child: { killed: false, stdin: { write: vi.fn() } },
|
||||
};
|
||||
|
||||
(svc as any).provisioningRunByTeam.set(run.teamName, run.runId);
|
||||
|
|
@ -2599,6 +2600,7 @@ describe('TeamProvisioningService prepare/auth behavior', () => {
|
|||
activeToolCalls: new Map(),
|
||||
leadActivityState: 'active',
|
||||
leadContextUsage: null,
|
||||
child: { killed: false, stdin: { write: vi.fn() } },
|
||||
};
|
||||
|
||||
(svc as any).provisioningRunByTeam.set(run.teamName, run.runId);
|
||||
|
|
@ -3053,6 +3055,7 @@ describe('TeamProvisioningService prepare/auth behavior', () => {
|
|||
activeToolCalls: new Map(),
|
||||
leadActivityState: 'active',
|
||||
leadContextUsage: null,
|
||||
child: { killed: false, stdin: { write: vi.fn() } },
|
||||
};
|
||||
|
||||
(svc as any).provisioningRunByTeam.set(run.teamName, run.runId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue