Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down