diff --git a/apps/gateway/src/commands/command-executor-p8012.spec.ts b/apps/gateway/src/commands/command-executor-p8012.spec.ts index e862277..7ff5c41 100644 --- a/apps/gateway/src/commands/command-executor-p8012.spec.ts +++ b/apps/gateway/src/commands/command-executor-p8012.spec.ts @@ -72,7 +72,6 @@ const mockChatGateway = { broadcastSessionInfo: vi.fn(), }; - function buildService(): CommandExecutorService { return new CommandExecutorService( mockRegistry as never, diff --git a/apps/gateway/src/commands/commands.integration.spec.ts b/apps/gateway/src/commands/commands.integration.spec.ts index e5c0861..949e203 100644 --- a/apps/gateway/src/commands/commands.integration.spec.ts +++ b/apps/gateway/src/commands/commands.integration.spec.ts @@ -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,