MCPcopy Create free account
hub / github.com/nodejs/node / load-all-commands.js

File load-all-commands.js

deps/npm/test/lib/load-all-commands.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Our coverage mapping means that stuff like this doesn't count for coverage.
2// It does ensure that every command has a usage that renders, contains its
3// name, a description, and if it has completion it is a function. That it
4// renders also ensures that any params we've defined in our commands work.

Callers

nothing calls this directly

Calls 8

isAsyncFnFunction · 0.85
matchMethod · 0.65
requireFunction · 0.50
loadMockNpmFunction · 0.50
testMethod · 0.45
okMethod · 0.45
typeMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected