BettererFileTest.goal()
API > @betterer/betterer > BettererFileTest > goal
Override the goal in the test configuration.
Signature
goal(goalOverride: BettererTestGoal<BettererFileTestResult>): this;
Parameters
Parameter | Type | Description |
---|---|---|
goalOverride | BettererTestGoal<BettererFileTestResult> | The new goal for the test. |
Returns
this
This BettererFileTest
, so it is chainable.