@salesforce/agents
Version:
Client side APIs for working with Salesforce agents
11 lines (10 loc) • 469 B
TypeScript
import { type AgentTestResultsResponse } from './types.js';
/**
* Convert the raw, detailed test results to another format.
*
* @param results The detailed results from a test run.
* @param format The desired format. One of: json, junit, or tap.
* @returns
*/
export declare function convertTestResultsToFormat(results: AgentTestResultsResponse, format: 'json' | 'junit' | 'tap'): Promise<string>;
export declare function humanFriendlyName(name: string): string;