@japa/spec-reporter
Version:
Spec reporter for japa test runner
22 lines (21 loc) • 691 B
JavaScript
;
/*
* @japa/spec-reporter
*
* (c) Japa.dev
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.specReporter = exports.SpecReporter = void 0;
const reporter_1 = require("./src/reporter");
Object.defineProperty(exports, "SpecReporter", { enumerable: true, get: function () { return reporter_1.SpecReporter; } });
/**
* Spec reporter function
*/
function specReporter(options = {}) {
const reporter = new reporter_1.SpecReporter(options);
return reporter.boot.bind(reporter);
}
exports.specReporter = specReporter;