(opts)
| 21 | t.teardown(() => process.off('log', handleLog)) |
| 22 | |
| 23 | const runScript = (opts) => mockedRunScript({ |
| 24 | args: [], |
| 25 | call: '', |
| 26 | path: '', |
| 27 | runPath: '', |
| 28 | shell: process.platform === 'win32' |
| 29 | ? process.env.ComSpec || 'cmd' |
| 30 | : process.env.SHELL || 'sh', |
| 31 | ...opts, |
| 32 | flatOptions: { chalk: new Chalk({ level }) }, |
| 33 | }) |
| 34 | return { runScript, outputs, logs } |
| 35 | } |
| 36 |
no outgoing calls
no test coverage detected