MCPcopy
hub / github.com/yeoman/yo / orderedAnswers

Function orderedAnswers

test/route-install.js:10–19  ·  view source on GitHub ↗
({toInstall, searchTerm})

Source from the content-addressed store, hash-verified

8import * as helpers from './helpers.js';
9
10const 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
21const spawn = await esmocha.mock('cross-spawn', {
22 default: esmocha.fn().mockReturnValue({

Callers 1

route-install.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…