MCPcopy Create free account
hub / github.com/npm/cli / exec

Method exec

test/lib/cli/exit-handler.js:84–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 if (error) {
83 mocks[`{LIB}/commands/root.js`] = class {
84 async exec () {
85 throw error
86 }
87 }
88 mocks[`{LIB}/commands/exec.js`] = class extends ExecCommand {
89 async exec (...args) {

Callers 1

mockExitHandlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected