
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
taptap is simple testing function. you give a test function with "done" param. like that:
var test = require('taptap');
var assert = require('assert');
test(function (done) {
assert(1);
done();
});
you should always call "done". taptap will timeout in 2s, you can't alter it.
taptap produces results in tap format (i suppose..).
there may be two reasons when test failed:
in these cases taptap will output stacktrace for the first case and "hanger" test function source code in the second case.
taptap writes to stdout but you could give it another stream to write to if you want. call .pipe on it, like this
var test = require('taptap');
var stream = require('stream').Transform;
test.pipe(new stream).pipe(new stream);
[your tests...]
you could also .skip and .todo tests. like this:
var test = require('taptap');
test.skip(function () {
});
test.todo(function () {
throw new Error;
});
skip tests are always "ok", todo tests may be either "not ok" (if they don't pass) or "ok" if they pass (gives bonus!).
please check that your test functions are indeed functions!
FAQs
simple testing function
We found that taptap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.