Hello,
I am wondering how to handle Raise<Failure> in my unit tests
With Either I am using shouldBeRight or shouldBeLeft but they don’t exist with Raise DSL
y
Youssef Shoaib [MOD]
07/28/2023, 7:14 PM
You can use
recover
and throw an exception at the end of the success/failure path, or you can just use