Skip to content

Could you expose `require('tap/lib/stack')`?

When writing custom assertions that use subtests, it is quite convenient to extra.at = stack.at(this.currentAssertion). Is that something you would feel comfortable exposing as part of the public API? Having to const stack = require('tap/lib/stack') feels a bit dirty, especially considering I doubt its part of the public api.

Thanks!