()
| 46 | let presetsJS, presetsJSX; |
| 47 | |
| 48 | async function loadBabel() { |
| 49 | if (Babel) return; |
| 50 | Babel = await import( |
| 51 | /* webpackChunkName: "@babel/standalone" */ '@babel/standalone' |
| 52 | ); |
| 53 | Babel.registerPlugin( |
| 54 | 'loopProtection', |
| 55 | protect(protectTimeout, loopProtectCB, loopsPerTimeoutCheck) |
| 56 | ); |
| 57 | Babel.registerPlugin( |
| 58 | 'testLoopProtection', |
| 59 | protect(testProtectTimeout, testLoopProtectCB, testLoopsPerTimeoutCheck) |
| 60 | ); |
| 61 | } |
| 62 | |
| 63 | async function loadPresetEnv() { |
| 64 | if (!presetEnv) |
no outgoing calls
no test coverage detected