UNPKG

poku

Version:

🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.

20 lines (19 loc) 730 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.verbose = void 0; const reporter_js_1 = require("../../builders/reporter.js"); const format_js_1 = require("../format.js"); const write_js_1 = require("../write.js"); const poku_js_1 = require("./poku.js"); exports.verbose = (() => { return (0, reporter_js_1.createReporter)({ onRunStart() { (0, write_js_1.log)(`${(0, format_js_1.format)('Running Tests').bold()}\n`); }, onFileResult({ status, path, duration, output }) { poku_js_1.poku.onFileResult({ status, path, duration, output }); if (!status && output) (0, write_js_1.log)(output); }, }); })();