We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to inherit from the Tap class to add some custom assertions?
I'd like to do that:
const tap = require('tap'); tap.test('foo', function(test) { test.customAssertion(); test.end(); });
The text was updated successfully, but these errors were encountered:
You could do this by using the addAssert method.
Sorry, something went wrong.
Amazing. How did I miss that?
Successfully merging a pull request may close this issue.
Is there a way to inherit from the Tap class to add some custom assertions?
I'd like to do that:
The text was updated successfully, but these errors were encountered: