@mmisty/cypress-allure-adapter
Version:
cypress allure adapter to generate allure results during tests execution (Allure TestOps compatible)
15 lines (14 loc) • 765 B
TypeScript
import { existsSync } from 'fs';
/**
* Async filesystem operations to prevent blocking Cypress node events
*/
export declare const mkdirAsync: (dir: string, options?: {
recursive?: boolean;
}) => Promise<void>;
export declare const writeFileAsync: (filePath: string, content: string | Buffer) => Promise<void>;
export declare const appendFileAsync: (filePath: string, content: string) => Promise<void>;
export declare const readFileAsync: (filePath: string) => Promise<Buffer>;
export declare const copyFileAsync: (from: string, to: string, removeSource?: boolean) => Promise<void>;
export declare const removeFileAsync: (filePath: string) => Promise<void>;
export declare const fileExistsAsync: (filePath: string) => Promise<boolean>;
export { existsSync };