logo

tape-lite

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

Add t.strictSame alias for basic npm:tap compatibility

Diffstat:

Mindex.js3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/index.js b/index.js @@ -127,6 +127,9 @@ module.exports = function(name, opts, cb) { // t.doesNotMatch(string, regexp, message) → assert.doesNotMatch(string, regexp[, message]) t.doesNotMatch = assert.doesNotMatch; + + // npm:tap compatibility + t.strictSame = t.same; }; switch(arguments.length)