BettererDelta
API > @betterer/betterer > BettererDelta
The change between a test runs and its baseline. A BettererRun
has a delta
property if the test has a progress()
handler.
Signature
export declare type BettererDelta = {
readonly baseline: number;
readonly diff: number;
readonly result: number;
} | {
readonly baseline: null;
readonly diff: 0;
readonly result: number;
};