UNPKG

karma-brief-reporter

Version:

Reports test progress statistics and lists failures at the end of a Karma test run.

15 lines (11 loc) 235 B
'use strict' const write = require('./printers').write const isTTY = process.stdout.isTTY exports.cursor = { hide: function () { isTTY && write('\u001b[?25l') }, show: function () { isTTY && write('\u001b[?25h') } }