In 0.4 there’s the module Test.HMock.Predicates
that allowed me to write
expect $ MHttpPost_ (eq "url") (typed @ByteString anything) |-> (status201, "result")
in 0.5 that module is gone and I’m struggling with how to translate the above code. A quick search online didn’t yield anything, so if has pointers out there I’d be very happy.