diff --git a/lib/utils.js b/lib/utils.js index f4b7b0d590..9cfbb6fd89 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -9,24 +9,12 @@ * Module dependencies. */ var path = require("node:path"); -var util = require("node:util"); var he = require("he"); var pc = require("picocolors"); var isUnicodeSupported = require("is-unicode-supported")(); const MOCHA_ID_PROP_NAME = "__mocha_id__"; -/** - * Inherit the prototype methods from one constructor into another. - * - * @param {function} ctor - Constructor function which needs to inherit the - * prototype. - * @param {function} superCtor - Constructor function to inherit prototype from. - * @throws {TypeError} if either constructor is null, or if super constructor - * lacks a prototype. - */ -exports.inherits = util.inherits; - /** * Escape special characters in the given string of html. *