UNPKG

tdpw

Version:

CLI tool for uploading Playwright test reports to TestDino platform with TestDino storage support

25 lines 822 B
/** * Recursively collect all file paths under a directory */ export declare function collectFilePaths(dir: string): Promise<string[]>; /** * Check if a file should be included in HTML report uploads */ export declare function isAllowedForHtmlUpload(filePath: string, config?: { uploadImages: boolean; uploadVideos: boolean; uploadHtml: boolean; }): boolean; /** * Recursively collect file paths with optional filtering for HTML uploads */ export declare function collectFilePathsForHtml(dir: string, filterForHtml?: boolean, config?: { uploadImages: boolean; uploadVideos: boolean; uploadHtml: boolean; }): Promise<string[]>; /** * Basic content-type detection based on file extension */ export declare function getContentType(filePath: string): string; //# sourceMappingURL=files.d.ts.map