Lines Matching refs:exec
74 async exec (...args) {
75 const [res, err] = await super.exec(...args).then((r) => [r]).catch(e => [null, e])
79 // to read the output after exec is called. This is not *exactly* how it
130 exec = null, // optionally exec the command before returning
274 // running npm command without running exec. Generally, we should rely on
275 // actually exec-ing the command to asserting the state of the world
285 exec: (args) => npm.exec(command, args),
288 if (exec) {
289 await mockCommand[command].exec(exec === true ? [] : exec)