-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
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
Tape: how to replace t.test and t.skip #89
Comments
t.test can be replaced by t.skip can be replaced by |
So the test here is a bit funky. It doesn't really follow Tape documentation. IMO test('helper.hasRefinements(attribute)', function() {
t.skip('undefined attribute', function(tt) { should be test('helper.hasRefinements(attribute)', function(t) {
t.skip('undefined attribute', function() { So if you get rid of all the |
Oh that would help too! I’ll do that change then, didn’t happen in many cases AFAICT |
Did it work? : ) |
We aren't moving to Jest right now yet, so I didn't spend to much effort on those tests. Will reopen if we need more help after moving to a more standard way of writing those tests |
Our codebase has quite a few of those, but now that's the only warning left, except sinon ( #68 )
An example test with those looks like:
The text was updated successfully, but these errors were encountered: