Skip to content

Commit

Permalink
fix caller location in tape.skip
Browse files Browse the repository at this point in the history
  • Loading branch information
ChALkeR committed Sep 4, 2024
1 parent c768444 commit 89bec44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tape.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 89bec44

Please sign in to comment.