Searched refs:requireFunc (Results 1 – 2 of 2) sorted by relevance
30 var requireFunc = function () { require(mod); }; // eslint-disable-line no-loop-func function33 st.doesNotThrow(requireFunc, mod + ' supported; requiring does not throw');37 st.throws(requireFunc, mod + ' not supported; requiring throws');
33 var requireFunc = function () { require(mod); }; // eslint-disable-line no-loop-func function35 st.doesNotThrow(requireFunc, mod + ' supported; requiring does not throw');37 st['throws'](requireFunc, mod + ' not supported; requiring throws');