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
/// <reference types="vitest/globals" />
import { outputQrcodeAction } from '../src/lib/actions/output-qrcode-action';
import { createMockActionContext } from '@activepieces/pieces-framework';
describe('outputQrcodeAction', () => {
test('generates QR code from text', async () => {
const ctx = createMockActionContext({
propsValue: { text: 'Hello World' },
});
const result = await outputQrcodeAction.run(ctx);
expect(result).toBe('test-file-url');
});
});