Skip to content

Commit

Permalink
Added uid to testdetails payload (when available)
Browse files Browse the repository at this point in the history
  • Loading branch information
W. van Kuipers committed Dec 8, 2016
1 parent 05797db commit dbcfadc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ class Runner {
addTestDetails (payload) {
if (this.currentTest) {
payload.title = this.currentTest.title
payload.uid = this.currentTest.uid || this.currentTest.title
payload.parent = this.currentTest.parent
}
return payload
Expand Down

0 comments on commit dbcfadc

Please sign in to comment.