Skip to content

Commit d0a636b

Browse files
authored
chore: remove now-unused utils.inherits (#5766)
1 parent fdf1a11 commit d0a636b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/utils.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,12 @@
99
* Module dependencies.
1010
*/
1111
var path = require("node:path");
12-
var util = require("node:util");
1312
var he = require("he");
1413
var pc = require("picocolors");
1514
var isUnicodeSupported = require("is-unicode-supported")();
1615

1716
const MOCHA_ID_PROP_NAME = "__mocha_id__";
1817

19-
/**
20-
* Inherit the prototype methods from one constructor into another.
21-
*
22-
* @param {function} ctor - Constructor function which needs to inherit the
23-
* prototype.
24-
* @param {function} superCtor - Constructor function to inherit prototype from.
25-
* @throws {TypeError} if either constructor is null, or if super constructor
26-
* lacks a prototype.
27-
*/
28-
exports.inherits = util.inherits;
29-
3018
/**
3119
* Escape special characters in the given string of html.
3220
*

0 commit comments

Comments
 (0)