UNPKG

stryker-mocha-runner

Version:

A plugin to use the mocha test runner in Stryker, the JavaScript mutation testing framework

12 lines 375 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Executes a piece of javascript code in global scope while passing the `require` function * @param body The JavaScript to execute */ function evalGlobal(body) { var fn = new Function('require', body); fn(require); } exports.evalGlobal = evalGlobal; //# sourceMappingURL=utils.js.map