UNPKG

@alphabin/trx

Version:

TRX reporter for Playwright tests with Azure Blob Storage upload support

30 lines (29 loc) 663 B
import { GitMetadata } from '../types'; /** * Collector for Git metadata */ export declare class GitCollector { private rootDir; constructor(rootDir?: string); /** * Collects Git metadata */ collect(): Promise<Partial<GitMetadata>>; /** * Gets the current branch name */ private getBranch; /** * Gets information about the current commit */ private getCommitInfo; /** * Gets information about the git repository */ private getRepositoryInfo; /** * Gets information about the current pull request, if available */ private getPRInfo; } export default GitCollector;