Skip to main content
Glama

mcp-google-sheets

logging-utils.test.ts795 B
import { FlowActionType, GenericStepOutput, StepOutputStatus, } from '@activepieces/shared' import { loggingUtils } from '../../src/lib/helper/logging-utils' describe('Logging Utils', () => { it('Should not truncate whole step if its log size exceeds limit', async () => { const steps = { mockStep: GenericStepOutput.create({ type: FlowActionType.CODE, status: StepOutputStatus.SUCCEEDED, input: { a: 'a'.repeat(1024 * 1024 * 12), }, }), } // act const result = await loggingUtils.trimExecution(steps) // assert expect((result.mockStep.input as Record<string, string>).a.length).toBeLessThan(1024 * 1024 * 12) }) })

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server