@testomatio/reporter
Version:
Testomatio Reporter Client
23 lines (22 loc) • 663 B
TypeScript
export const linkStorage: LinkStorage;
declare class LinkStorage {
static "__#16@#instance": any;
/**
*
* @returns {LinkStorage}
*/
static getInstance(): LinkStorage;
/**
* Stores links array and passes it to reporter
* @param {object[]} links - array of link objects
* @param {*} context - full test title
*/
put(links: object[], context?: any): void;
/**
* Returns links array for the test
* @param {*} context testId or test context from test runner
* @returns {object[]} links array, e.g. [{test: 'TEST-123'}, {jira: 'JIRA-456'}]
*/
get(context?: any): object[];
}
export {};