UNPKG

@testomatio/reporter

Version:
25 lines (24 loc) 735 B
export const linkStorage: LinkStorage; declare class LinkStorage { static "__#private@#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 {{[key: 'test' | 'jira']: string}[]} links array, e.g. [{test: 'TEST-123'}, {jira: 'JIRA-456'}] */ get(context?: any): { [key: "test" | "jira"]: string; }[]; } export {};