e305375820676533f105b82236ee915215290cba
28 test cases covering: - spawn() with default scenario (immediate success) - spawn() with configured delay - spawn() with crash scenario (agent:crashed, result.success=false) - spawn() with waiting_for_input (agent:waiting, status='waiting_for_input') - resume() after waiting_for_input (agent:resumed, continues scenario) - stop() kills scheduled completion, emits agent:stopped - list() returns all agents with correct status - get() and getByName() lookups - setScenario() overrides for specific agent names - Event emission order verification (spawned before completion) - Name uniqueness validation - Constructor options (eventBus, defaultScenario) - clear() cleanup Export MockAgentManager and MockAgentScenario from src/agent/index.ts
Description
No description provided
Languages
HTML
52.9%
TypeScript
45.5%
Shell
1.1%
CSS
0.3%
JavaScript
0.2%