From 89bec449311474ca5847936664586b1f912a3bf6 Mon Sep 17 00:00:00 2001 From: Nikita Skovoroda Date: Wed, 4 Sep 2024 17:53:08 +0400 Subject: [PATCH] fix caller location in tape.skip --- src/tape.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tape.js b/src/tape.js index ece97d4..c1d0c6d 100644 --- a/src/tape.js +++ b/src/tape.js @@ -151,7 +151,7 @@ function tapeWrap(test) { } } - tap.skip = (...args) => test.skip(...args) + if (test.skip) tap.skip = tapeWrap(test.skip) if (test.only) tap.only = tapeWrap(test.only) return tap }