the Notifier for Termux on Android, OS X, Linux and Windows as TAP reporter
You can use tap-notify-termux in the same way as other TAP reporters. I recommend to use as the first pipe.
npm install -g tap-notify-termux
It has the same namn as the original tap-notify
command.
tape ./*.test.js | tap-notify | tap-diff
Or use with createStream()
:
var test = require('tape');
var tapDiff = require('tap-diff');
var tapNotify = require('tap-notify-termux');
test.createStream()
.pipe(tapNotify())
.pipe(tapDiff());
process.argv.slice(2).forEach(function (file) {
require(path.resolve(file));
});
MIT