@mochify/mochify
Version:
Run mocha tests in headless browsers
10 lines (9 loc) • 335 B
TypeScript
export type Runner = import("mocha").Runner;
export type MochifyDriver = import("./driver").MochifyDriver;
/**
* @param {MochifyDriver} driver
* @param {Runner} mocha_runner
* @param {string} script
* @returns {Promise<number>}
*/
export function run(driver: MochifyDriver, mocha_runner: Runner, script: string): Promise<number>;