Skip to content

Commit eca4fec

Browse files
docs: fix return jsdoc type of titlePath (#4886)
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
1 parent 060f77d commit eca4fec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/runnable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Runnable.prototype.fullTitle = function () {
211211
*
212212
* @memberof Mocha.Runnable
213213
* @public
214-
* @return {string}
214+
* @return {string[]}
215215
*/
216216
Runnable.prototype.titlePath = function () {
217217
return this.parent.titlePath().concat([this.title]);

lib/suite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ Suite.prototype.fullTitle = function () {
387387
*
388388
* @memberof Suite
389389
* @public
390-
* @return {string}
390+
* @return {string[]}
391391
*/
392392
Suite.prototype.titlePath = function () {
393393
var result = [];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy