UNPKG

cypress-zephyr

Version:
20 lines (19 loc) • 785 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.printReport = void 0; const colors_1 = require("colors"); const table_1 = require("table"); function printReport(testCycle) { const tableData = [ [(0, colors_1.bold)((0, colors_1.green)(`āœ… Test cycle ${testCycle.key} has been created`))], [(0, colors_1.bold)((0, colors_1.gray)('šŸ‘‡ Check out the test result'))], [(0, colors_1.bold)((0, colors_1.blue)(`šŸ”— ${testCycle.url}`))], ]; const report = (0, table_1.table)(tableData, { border: (0, table_1.getBorderCharacters)('norc'), singleLine: true, }); console.log((0, colors_1.bold)('\nšŸ“‹ Zephyr Scale Report details:')); console.log(report); } exports.printReport = printReport;