@nevware21/tripwire - v0.1.8
    Preparing search index...

    Function increasesButNotByFunc

    Export assertion functions

    • Asserts that executing the target function increases the monitored value but NOT by the specific delta. The value MUST increase, but the increase amount must not equal the specified delta.

      Type Parameters

      • R
      • T = any

      Parameters

      • this: IAssertScope

        The current IAssertScope object

      • getter: T | (() => any)

        A function that returns a value to monitor, or an object containing the property to monitor

      • Optionalprop: keyof T

        The property name to monitor (only used when first argument is an object)

      • Optionaldelta: number | MsgSource

        The delta that should NOT match

      • OptionalevalMsg: MsgSource

        Optional message to display if the assertion fails

      Returns R

      The current IAssertScope.that object