fix(gateway): remove duplicate mockBrain declaration and fix prettier formatting after rebase
Some checks failed
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/push/ci Pipeline failed

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:
2026-03-22 20:08:22 -05:00
parent 719f661963
commit 21c045559d
2 changed files with 0 additions and 9 deletions

View File

@@ -72,7 +72,6 @@ const mockChatGateway = {
broadcastSessionInfo: vi.fn(), broadcastSessionInfo: vi.fn(),
}; };
function buildService(): CommandExecutorService { function buildService(): CommandExecutorService {
return new CommandExecutorService( return new CommandExecutorService(
mockRegistry as never, mockRegistry as never,

View File

@@ -55,14 +55,6 @@ function buildRegistry(): CommandRegistryService {
return svc; return svc;
} }
const mockBrain = {
agents: {
findByName: vi.fn().mockResolvedValue(undefined),
findById: vi.fn().mockResolvedValue(undefined),
create: vi.fn(),
},
};
function buildExecutor(registry: CommandRegistryService): CommandExecutorService { function buildExecutor(registry: CommandRegistryService): CommandExecutorService {
return new CommandExecutorService( return new CommandExecutorService(
registry as never, registry as never,