(...execArgs)
| 220 | // |
| 221 | |
| 222 | function execAsync(...execArgs) { |
| 223 | return new Promise((resolve) => { |
| 224 | shell.exec(...execArgs, (code, stdout, stderr) => { |
| 225 | resolve({ code, stdout, stderr }); |
| 226 | }); |
| 227 | }); |
| 228 | } |
| 229 | |
| 230 | test('no callback', t => { |
| 231 | const c = shell.exec(`${JSON.stringify(shell.config.execPath)} -e "console.log(1234)"`, { async: true }); |
no outgoing calls
no test coverage detected
searching dependent graphs…