Distractic11/02/2023, 6:38 PM
(there is no
) but this function cannot be suspend and
doesn't exists in module
. I tried to use
, but that doesn't work in JS, the test is executed before the end of the Before So, do you advise me to create my tests only in JVM or have you a solution to resolve that ?
mkrussel11/02/2023, 6:42 PM
. You could also create a private
function that calls the normal runTest function and then calls your setup code and finally runs the test block.
Distractic11/02/2023, 6:46 PM
mkrussel11/02/2023, 6:48 PM
with one that calls it, so that the tests don't look different than normal.
Casey Brooks11/02/2023, 6:48 PM
Distractic11/02/2023, 6:49 PM