AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { describe, it, expect, vi } from 'vitest'
vi.mock('../../src/lib/config/worker-settings', () => ({
workerSettings: {
getSettings: vi.fn().mockReturnValue({ SANDBOX_MEMORY_LIMIT: '1048576' }),
},
}))
import { sandboxConfig } from '../../src/lib/runtime/sandbox-config'
describe('sandboxConfig memory limit', () => {
it('uses the server-provided limit', () => {
expect(sandboxConfig.getSandboxSettings().SANDBOX_MEMORY_LIMIT).toBe('1048576')
})
})