BettererReporter.suiteError()
API > @betterer/betterer > BettererReporter > suiteError
The suiteError()
hook is called when a BettererSuite
run throws an error.
Signature
suiteError?(suite: BettererSuite, error: BettererError): Promise<void> | void;
Parameters
Parameter | Type | Description |
---|---|---|
suite | BettererSuite | The test suite. |
error | BettererError | The error thrown while running the suite. |
Returns
Promise<void> | void