This fixes an issue where the results are ignored when running an asynchronous test class (e.g. with AsyncFlatSpec). For them, calling suiteToRun.run returns quickly, but the tests are only complete (with the relevant test events handled) once the returned status has become "complete".
This fixes an issue where the results are ignored when running an asynchronous test class (e.g.
with AsyncFlatSpec
). For them, callingsuiteToRun.run
returns quickly, but the tests are only complete (with the relevant test events handled) once the returned status has become "complete".