diff --git a/tests/frontend/helper.js b/tests/frontend/helper.js index 874248319..894b402fe 100644 --- a/tests/frontend/helper.js +++ b/tests/frontend/helper.js @@ -259,16 +259,4 @@ var helper = {}; /* Ensure console.log doesn't blow up in IE, ugly but ok for a test framework imho*/ window.console = window.console || {}; window.console.log = window.console.log || function(){} - - //force usage of callbacks in it - var _it = it; - it = function(name, func){ - if(func && func.length !== 1){ - func = function(){ - throw new Error("Please use always a callback with it() - " + func.toString()); - } - } - - _it(name, func); - } })()