MCPcopy Create free account
hub / github.com/nodejs/node / displayLoad

Function displayLoad

deps/npm/test/lib/utils/display.js:15–21  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

13 const Display = tmock(t, '{LIB}/utils/display', mocks)
14 const display = new Display(logs.streams)
15 const displayLoad = async (opts) => display.load({
16 loglevel: 'silly',
17 stderrColor: false,
18 stdoutColor: false,
19 heading: 'npm',
20 ...opts,
21 })
22
23 if (load !== false) {
24 await displayLoad(load)

Callers 2

mockDisplayFunction · 0.85
display.jsFile · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected