Skip to content
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

Opt-in to output 'Skip as no hooks defined' #148

Open
ni5ni6 opened this issue Jun 15, 2016 · 0 comments
Open

Opt-in to output 'Skip as no hooks defined' #148

ni5ni6 opened this issue Jun 15, 2016 · 0 comments

Comments

@ni5ni6
Copy link

ni5ni6 commented Jun 15, 2016

Hi,

I find it useful not to print out mocked test when skipped.
So in test-runner.coffee:

# No Hooks for this test
if not hooks.hasName(test.name) and options['hooks-only']
  # suite.addTest new Mocha.Test 'Skip as no hooks defined'
  return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants