Skip to content

Commit

Permalink
Remove unused test.retries(n) (#4611)
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba authored Mar 30, 2021
1 parent a41f18a commit d7ed5c2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
7 changes: 0 additions & 7 deletions lib/interfaces/bdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,6 @@ module.exports = function bddInterface(suite) {
context.xit = context.xspecify = context.it.skip = function(title) {
return context.it(title);
};

/**
* Number of attempts to retry.
*/
context.it.retries = function(n) {
context.retries(n);
};
});
};

Expand Down
9 changes: 0 additions & 9 deletions lib/interfaces/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,6 @@ module.exports = function(suites, context, mocha) {
*/
skip: function(title) {
context.test(title);
},

/**
* Number of retry attempts
*
* @param {number} n
*/
retries: function(n) {
context.retries(n);
}
}
};
Expand Down
1 change: 0 additions & 1 deletion lib/interfaces/qunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ module.exports = function qUnitInterface(suite) {
};

context.test.skip = common.test.skip;
context.test.retries = common.test.retries;
});
};

Expand Down
1 change: 0 additions & 1 deletion lib/interfaces/tdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ module.exports = function(suite) {
};

context.test.skip = common.test.skip;
context.test.retries = common.test.retries;
});
};

Expand Down

0 comments on commit d7ed5c2

Please sign in to comment.