logo

tape-lite

tape shim based on node:test+node:assert with no dependencies
commit: fd2a60bf70f44d8f0ecdaf0dff1cdb9449133bfb
parent 206fb8e7aee174b769e80d7fe4da6422ab2ac4a3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 21 Sep 2023 13:39:32 +0200

Hook t.comment to console.log

Diffstat:

Mindex.js1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/index.js b/index.js @@ -120,6 +120,7 @@ module.exports = function(name, opts, cb) { // t.test(name, [opts], cb) // t.comment(message) + t.comment = (msg) => console.log("t.comment called with:", msg); // t.match(string, regexp, message) → assert.match(string, regexp[, message]) t.match = assert.match;