({toInstall, searchTerm})
| 8 | import * as helpers from './helpers.js'; |
| 9 | |
| 10 | const orderedAnswers = ({toInstall, searchTerm}) => ({ |
| 11 | _searchTerm: searchTerm, |
| 12 | get searchTerm() { |
| 13 | return this._searchTerm.shift(); |
| 14 | }, |
| 15 | _toInstall: toInstall, |
| 16 | get toInstall() { |
| 17 | return this._toInstall.shift(); |
| 18 | }, |
| 19 | }); |
| 20 | |
| 21 | const spawn = await esmocha.mock('cross-spawn', { |
| 22 | default: esmocha.fn().mockReturnValue({ |
no outgoing calls
no test coverage detected
searching dependent graphs…