Hey! I had a look at AVA. You are passing the option object to Test, and create e.g. this._only. And then in the Suite, you are checking like this: test._only
In AvaTest doesn't have any options. In fact the option object is passed in as a single argument to the run() function in the Runner / Suite.
Hey! I had a look at AVA. You are passing the option object to Test, and create e.g.
this._only
. And then in theSuite
, you are checking likethis: test._only
In
Ava
Tes
t doesn't have any options. In fact the option object is passed in as a single argument to therun()
function in theRunner / Suite
.https://github.com/avajs/ava/blob/master/lib/runner.js#L198-L199
Could it be a good idea?