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

Add better grep() support to js api #325

Closed
tj opened this issue Mar 16, 2012 · 3 comments
Closed

Add better grep() support to js api #325

tj opened this issue Mar 16, 2012 · 3 comments
Labels
type: feature enhancement proposal

Comments

@tj
Copy link
Contributor

tj commented Mar 16, 2012

string or regexp

@davemckenna01
Copy link
Contributor

I'd like to help out with this. What did you have in mind: something like

mocha.setup({
  ui:'bdd',
  grep:'foobar'
});
mocha.run()

or more like

mocha.grep('foobar').run()

@tj
Copy link
Contributor Author

tj commented Apr 10, 2012

I prefer the latter personally

davemckenna01 added a commit to davemckenna01/mocha that referenced this issue Apr 10, 2012
davemckenna01 added a commit to davemckenna01/mocha that referenced this issue Apr 14, 2012
davemckenna01 added a commit to davemckenna01/mocha that referenced this issue Apr 30, 2012
tj added a commit that referenced this issue May 1, 2012
Fix issue #325 - add better grep support to js api
@danielstjules
Copy link
Contributor

Looks like this was completed in #407 as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature enhancement proposal
Projects
None yet
Development

No branches or pull requests

3 participants