MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / createEnv

Function createEnv

services/cloud-agent-next/src/server.test.ts:114–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 new Response(
113 error instanceof Error && 'code' in error && error.code === 'FORBIDDEN'
114 ? 'Session access denied'
115 : 'Session access is temporarily unavailable',
116 {
117 status: error instanceof Error && 'code' in error && error.code === 'FORBIDDEN' ? 403 : 503,
118 }
119 ),
120}));
121
122vi.mock('./persistence/CloudAgentSession.js', () => ({
123 CloudAgentSession: class CloudAgentSession {},
124}));
125
126vi.mock('./persistence/SandboxControl.js', () => ({
127 SandboxControl: class SandboxControl {},
128}));
129
130vi.mock('./sandbox-session/SandboxSession.js', () => ({
131 SandboxSession: class SandboxSession {},

Callers 1

server.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected