/** * Override the default reporter with a custom configured subclass. * * @param string $reporter */ static function set_reporter($reporter) { if (is_string($reporter)) { $reporter = new $reporter(); } self::$default_reporter = $reporter; }
function jstests($request) { return JSTestRunner::create(); }