fix(gateway): remove duplicate mockBrain declaration and fix prettier formatting after rebase
Rebase conflict resolution introduced a duplicate `mockBrain` variable in commands.integration.spec.ts. Also fixes prettier formatting on command-executor-p8012.spec.ts that was introduced during conflict resolution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -72,7 +72,6 @@ const mockChatGateway = {
|
||||
broadcastSessionInfo: vi.fn(),
|
||||
};
|
||||
|
||||
|
||||
function buildService(): CommandExecutorService {
|
||||
return new CommandExecutorService(
|
||||
mockRegistry as never,
|
||||
|
||||
@@ -55,14 +55,6 @@ function buildRegistry(): CommandRegistryService {
|
||||
return svc;
|
||||
}
|
||||
|
||||
const mockBrain = {
|
||||
agents: {
|
||||
findByName: vi.fn().mockResolvedValue(undefined),
|
||||
findById: vi.fn().mockResolvedValue(undefined),
|
||||
create: vi.fn(),
|
||||
},
|
||||
};
|
||||
|
||||
function buildExecutor(registry: CommandRegistryService): CommandExecutorService {
|
||||
return new CommandExecutorService(
|
||||
registry as never,
|
||||
|
||||
Reference in New Issue
Block a user