Skip to content

Commit

Permalink
Fix non global use case too
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanuan authored Oct 6, 2017
1 parent c3990d7 commit b3758aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ class UniqueTestNames {
if (this._options.useFullName) {
// Unique describe->test per file
key = `${relativeTestFilePath}-${t.fullName}`;
} else {
// Unique test name across per file
key = `${relativeTestFilePath}-${t.title}`;
}

// Unique test name across per file
key = `${relativeTestFilePath}-${t.title}`;
}
const testStruct = {
title: key,
Expand Down

0 comments on commit b3758aa

Please sign in to comment.