cypress-xray-plugin
Version:
A Cypress plugin for uploading test results to Xray (test management for Jira)
13 lines (12 loc) • 379 B
TypeScript
/**
* Encodes and returns some file's content in base64.
* @param file - path to the file to encode
* @returns the base64 string
*/
export declare function encodeFile(file: string): string;
/**
* Encodes and returns some string in base64.
* @param value - the string to encode
* @returns the base64 encoded value
*/
export declare function encode(value: string): string;