Skip to content

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

245 B
Raw Blame
import { ApplicationEventName } from '@activepieces/shared'

export function actionsEmitted(spy: ReturnType<typeof vi.fn>): ApplicationEventName[] {
    return spy.mock.calls.map((call) => (call[1] as { action: ApplicationEventName }).action)
}