UNPKG

api-bdd-test

Version:

use the bdd(cucumber) to test the RESTfull API

22 lines (15 loc) 489 B
(function() { var createContext, cs, ref, vm; cs = require('coffee-script'); vm = typeof require === "function" ? require('vm') : void 0; createContext = (ref = vm.Script.createContext) != null ? ref : vm.createContext; module.exports = function(value) { var sandbox; sandbox = createContext(testScope.context); sandbox.require = require; return cs["eval"](value, { sandbox: sandbox }); }; }).call(this); //# sourceMappingURL=cson-string.js.map