Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

Request/Question, Unable to pass ava arguments via targets array #4

Open
subash-canapathy opened this issue May 4, 2016 · 3 comments

Comments

@subash-canapathy
Copy link

subash-canapathy commented May 4, 2016

Tried to pass ava test runner flags as additional array argument, and as one string. This doesnt work when grunt is ran
ava: { target: ["src/tests/ava/*.js", "--match='@bvt*'"] }

ava: { target: ["src/tests/ava/*.js --match='@bvt*'"] }

Output:
target: ["src/tests/ava/.js", "--match='@bvt'"] => All tests are ran, the second arg in array is ignored ?
target: ["src/tests/ava/.js --match='@bvt'"] => 1 exception

  ✖ Couldn't find any files to test
@sindresorhus
Copy link
Member

That unfortunately not supported yet.

@subash-canapathy
Copy link
Author

so no options can be given apart from the fileset itself ?

@sindresorhus
Copy link
Member

No, not until we land #3. You can put it in package.json though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants