PokéRogue
    Preparing search index...

    Interface ToHaveHpOptionsSealed

    Options type for toHaveHp.

    interface ToHaveHpOptions {
        rounding?: "down" | "half up";
    }
    Index

    Properties

    Properties

    rounding?: "down" | "half up"

    The rounding method to use when coercing HP counts to an integer.
    Possible values are "down" (using toDmgValue and enforcing a minimum value of 1) and "half up" (using Math.round)

    "down"