(str)
| 227 | } |
| 228 | |
| 229 | function fakeRequire(str) { |
| 230 | if (str == "./garble") return function(string) { |
| 231 | return string.split("").map(function(ch) { |
| 232 | return String.fromCharCode(ch.charCodeAt(0) + 5) |
| 233 | }).join("") |
| 234 | } |
| 235 | if (str == "./router") return require("../code/skillsharing/router") |
| 236 | if (str == "serve-static") return Math.min |
| 237 | if (str == "fs") return fakeFS |
| 238 | if (str == "http") return fakeHTTP |
| 239 | |
| 240 | return require(str) |
| 241 | } |
| 242 | |
| 243 | let i = 0, boxes = Object.keys(sandboxes).map(k => sandboxes[k]) |
| 244 | function nextSandbox() { |
nothing calls this directly
no outgoing calls
no test coverage detected