You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I need to match against async data. For example coming from a child_process.exec but perhaps also an http request or whatever. CLIeasy likes to be at the top level so vows can find it. When nested in a callback, it produces: "Could not find any tests to run".
Here is where the data comes from. I can't nest the module.exports either, so I ended up using a stream.
Could there be any kind of before hook, or a way to make cli-easy listen for the "ready" event to fire -- before running the tests?
Perhaps another option could be synchronize - there is a Mocha example at the bottom, I don't quite see how to use that with Vows...
The text was updated successfully, but these errors were encountered:
Sometimes I need to match against async data. For example coming from a
child_process.exec
but perhaps also an http request or whatever.CLIeasy
likes to be at the top level sovows
can find it. When nested in a callback, it produces: "Could not find any tests to run".Here is where the data comes from. I can't nest the
module.exports
either, so I ended up using a stream.Could there be any kind of
before
hook, or a way to makecli-easy
listen for the "ready" event to fire -- before running the tests?Perhaps another option could be synchronize - there is a
Mocha
example at the bottom, I don't quite see how to use that withVows
...The text was updated successfully, but these errors were encountered: