@wdio/utils
Version:
A WDIO helper utility to provide several utility functions used across the project.
11 lines • 481 B
TypeScript
/**
* notify `WDIOCLInterface` about failure in hook
* we need to do it this way because `beforeFn` and `afterFn` are not real hooks.
* Otherwise hooks failures are lost.
*
* @param {string} hookName name of the hook
* @param {Array} hookResults hook functions results array
* @param {string} cid cid
*/
export declare const logHookError: (hookName: string, hookResults: unknown[] | undefined, cid: string) => void;
//# sourceMappingURL=errorHandler.d.ts.map