/** * QA360 Jest Adapter * * Ingests Jest test results and coverage reports into QA360. * * @see https://jestjs.io/docs/configuration#transformroot * * Supported result formats: * - test-results.json (from --json --outputFile) * - coverage/coverage-final.json (from --coverage) * - test-results/junit.xml (from jest-junit) * * NOTE: Jest JSON format includes assertionResults array */ import { UnitTestConfig, UnitTestExecutionResult } from './unit-test-types.js'; export declare class JestAdapter { private cwd; constructor(cwd?: string); /** * Execute Jest tests and return results */ execute(config: UnitTestConfig): Promise; /** * Parse Jest results into QA360 format * Supports both legacy (flat) and new (assertionResults) formats */ private parseResults; /** * Map Jest status to QA360 status */ private mapJestStatus; /** * Parse Jest coverage into QA360 format */ private parseCoverage; /** * Check if coverage meets thresholds */ private checkThresholds; } /** * Create a Jest adapter instance */ export declare function createJestAdapter(cwd?: string): JestAdapter;