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
Currently we don't have any options, no configuration, but we will need such thing as we go further.
As @sindresorhus said in this comment we can read CLI arguments using process.argv, but there should be a real API for configuring test interface, like this:
I don't think there should be. The public interface should be as simple and config-less a possible.
The flags are something we will handle internally, not in the public API. It will be passed to the Runner which will handle the changes, like making everything serial for the --debug flag.
Currently we don't have any options, no configuration, but we will need such thing as we go further.
As @sindresorhus said in this comment we can read CLI arguments using
process.argv
, but there should be a real API for configuring test interface, like this:If we have this, we can extend the config with CLI arguments. Individual tests' configurations should override CLI arguments.
Blocks #29 #31
@sindresorhus Please label as question.
The text was updated successfully, but these errors were encountered: