Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 5590-5590 (lines=1) @@
5587
 * @param {Function} fn
5588
 * @return {Suite} for chaining
5589
 */
5590
Suite.prototype.beforeEach = function (title, fn) {
5591
  if (this.isPending()) {
5592
    return this;
5593
  }

node_modules/mocha/lib/suite.js 1 location

@@ 260-260 (lines=1) @@
257
 * @param {Function} fn
258
 * @return {Suite} for chaining
259
 */
260
Suite.prototype.beforeEach = function (title, fn) {
261
  if (this.isPending()) {
262
    return this;
263
  }