fern-jest-client
Version:
Jest test reporter client for Fern platform - captures and sends test execution data to fern-reporter
22 lines • 648 B
TypeScript
/**
* Git utilities for extracting repository information
* Similar to fern-ginkgo-client utils
*/
import { GitInfo, CIInfo } from '../types';
/**
* Find the git root directory by walking up the directory tree
*/
export declare function findGitRoot(startPath?: string): string | null;
/**
* Get git information from the repository
*/
export declare function getGitInfo(): Promise<GitInfo>;
/**
* Get CI/CD information
*/
export declare function getCIInfo(): CIInfo;
/**
* Convert path to absolute path, expanding ~ for home directory
*/
export declare function toAbsolutePath(inputPath: string): string;
//# sourceMappingURL=git.d.ts.map