Algorand TypeScript
    Preparing search index...

    Function assertMatch

    • Applies all tests in test against subject and asserts they all pass

      Type Parameters

      • T

        The type of the subject

      Parameters

      • subject: T

        An object or tuple to be tested

      • test: MatchTest<T>

        An object containing one or more tests to be applied to the subject

      • Optionalmessage: string

        An optional message to show if the assertion fails

      Returns boolean