(Module)
| 33 | |
| 34 | const settings = { |
| 35 | preRun(Module) { |
| 36 | // Globally expose API object so we can access it if we raise on startup. |
| 37 | globalThis.Module = Module; |
| 38 | mountDirectories(Module); |
| 39 | Module.FS.chdir(process.cwd()); |
| 40 | Object.assign(Module.ENV, process.env); |
| 41 | delete Module.ENV.PATH; |
| 42 | }, |
| 43 | onRuntimeInitialized() { |
| 44 | initializeStreams(Module.FS); |
| 45 | }, |
nothing calls this directly
no test coverage detected
searching dependent graphs…