Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Get true parentUID for suite #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ class MochaAdapter {
switch (message.type) {
case 'suite:start':
uid = this.getUID(message.title, 'suite', true)
parentUid = uid
parentUid = this.getUID(message.parent, 'suite')
break

case 'suite:end':
uid = this.getUID(message.title, 'suite')
parentUid = uid
parentUid = this.getUID(message.parent, 'suite')
break

case 'hook:start':
Expand Down