()
| 66 | } |
| 67 | |
| 68 | const createJSRuntime = () => { |
| 69 | // This worker will run the application javascript code, |
| 70 | // making sure that it's run in an environment without a global |
| 71 | // document, to make it consistent with the JSC executor environment. |
| 72 | // eslint-disable-next-line |
| 73 | worker = new Worker(`${__webpack_public_path__}RNDebuggerWorker.js`); |
| 74 | worker.addEventListener('message', workerOnMessage) |
| 75 | window.addEventListener('message', onWindowMessage) |
| 76 | actions.setDebuggerWorker(worker, 'connected') |
| 77 | } |
| 78 | |
| 79 | const shutdownJSRuntime = () => { |
| 80 | const { setDebuggerWorker } = actions |
no outgoing calls
no test coverage detected