Skip to content

Commit

Permalink
docs: fix return jsdoc type of titlePath (#4886)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Goldberg ✨ <[email protected]>
  • Loading branch information
F3n67u and JoshuaKGoldberg authored Dec 2, 2023
1 parent 060f77d commit eca4fec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/runnable.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Runnable.prototype.fullTitle = function () {
*
* @memberof Mocha.Runnable
* @public
* @return {string}
* @return {string[]}
*/
Runnable.prototype.titlePath = function () {
return this.parent.titlePath().concat([this.title]);
Expand Down
2 changes: 1 addition & 1 deletion lib/suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ Suite.prototype.fullTitle = function () {
*
* @memberof Suite
* @public
* @return {string}
* @return {string[]}
*/
Suite.prototype.titlePath = function () {
var result = [];
Expand Down

0 comments on commit eca4fec

Please sign in to comment.