BettererRunner.stop()
API > @betterer/betterer > BettererRunner > stop
Stop the runner, without waiting for it to finish running the suite.
Signature
stop(force: true): Promise<BettererSuiteSummary | null>;
Parameters
Parameter | Type | Description |
---|---|---|
force | true | when true , the runner will stop immediately and any errors will be ignored. |
Returns
Promise<BettererSuiteSummary | null>
the most recent BettererSuiteSummary
. (or null
if a run hasn't finished yet).