UNPKG

@wdio/mocha-framework

Version:
11 lines • 622 B
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