Skip to content
Permalink
Browse files
fix(jasmine): ensure Jasmine reporter waits for the async tasks to co…
…mplete before exiting
  • Loading branch information
jan-molak committed Jan 20, 2020
1 parent 0ed2d4c commit b6252ad34f213bbc9e865a85db9e9af211bf9f4e
Showing 1 changed file with 2 additions and 0 deletions.
@@ -95,6 +95,8 @@ export class SerenityReporterForJasmine {
*/
jasmineDone(suiteInfo: JasmineDoneInfo) {
this.emit(new TestRunFinished(this.serenity.currentTime()));

return this.serenity.waitForNextCue();
}

/**

0 comments on commit b6252ad

Please sign in to comment.