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