Skip to content

Commit e29e8a5

Browse files
committed
Jim D | Support context being passed from wdio-mocha-framework
1 parent 4ee401e commit e29e8a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/utils/ReporterStats.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ class ReporterStats extends RunnableStats {
341341
testEnd (runner) {
342342
this.getTestStats(runner).complete()
343343
this.counts.tests++
344+
if(runner.context) { this.getTestStats(runner).context = runner.context }
344345
}
345346

346347
suiteEnd (runner) {

0 commit comments

Comments
 (0)