UNPKG

@mochify/mochify

Version:

Run mocha tests in headless browsers

8 lines (7 loc) 310 B
/** * @param {Mocha.Runner} runner * @param {(function(string): string) | null} mapStack * @returns {function(string, Object): void} */ export function mochaEventAdapter(runner: Mocha.Runner, mapStack: ((arg0: string) => string) | null): (arg0: string, arg1: any) => void; import Mocha = require("mocha");