@wdio/mocha-framework
Version:
A WebdriverIO plugin. Adapter for Mocha testing framework.
11 lines • 622 B
TypeScript
import type { FormattedMessage, FrameworkMessage, MochaOpts } from './types.js';
export declare function formatMessage(params: FrameworkMessage): FormattedMessage;
/**
* Mocha skips tests after a failing `before` or `beforeEach` and reports only
* the hook. Fail those tests unless the user turned the option off.
*/
export declare function applyMochaDefaults(mochaOpts: MochaOpts): MochaOpts;
type Hook = Function | Function[];
export declare function setupEnv(cid: string, options: MochaOpts, beforeTest: Hook, beforeHook: Hook, afterTest: Hook, afterHook: Hook): void;
export {};
//# sourceMappingURL=common.d.ts.map