assertMatch
Algorand TypeScript / index / assertMatch
assertMatch<
T>(subject,test,message?):void
Defined in: util.ts:123
Applies all tests in test against subject and asserts they all pass
Type Parameters
Section titled “Type Parameters”T
The type of the subject
Parameters
Section titled “Parameters”subject
Section titled “subject”T
An object or tuple to be tested
MatchTest<T>
An object containing one or more tests to be applied to the subject
message?
Section titled “message?”string
An optional message to show if the assertion fails
Returns
Section titled “Returns”void