Skip to content

expectIO

IO<Unit>expectIO(dynamicactual,dynamicmatcher, {String?reason,Object?skip,});

Lifts a test expectation into IO, allowing assertions to be composed within an IO program.

Equivalent to calling expectLater and wrapping it in IO.fromFutureF.