From 3d21897202c5ecd7374312279fa8ff6f6f848ee3 Mon Sep 17 00:00:00 2001 From: Arvid Ottenberg Date: Tue, 12 May 2020 08:15:23 +0200 Subject: [PATCH] Revert "implement markOnly instance method in suite class" This reverts commit 4b37e3c1f6ecee6a90ef8c12dc8e3e7baabe98b1. --- lib/suite.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/suite.js b/lib/suite.js index b693ce10c4..191d946b50 100644 --- a/lib/suite.js +++ b/lib/suite.js @@ -493,16 +493,6 @@ Suite.prototype.appendOnlySuite = function(suite) { this._onlySuites.push(suite); }; -/** - * Marks a suite to be `only`. - * - * @private - * @param {Suite} suite - */ -Suite.prototype.markOnly = function() { - this.parent.appendOnlySuite(this); -}; - /** * Adds a test to the list of tests marked `only`. *