MCPcopy
hub / github.com/node-formidable/formidable / requestStub

Function requestStub

test/unit/formidable.test.js:13–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12
13function requestStub() {
14 return Object.assign(new Stream (), {
15 pause() {},
16 resume() {},
17 });
18}
19
20function getForm(name, opts) {
21 return name === 'formidable' ? formidable(opts) : new mod[name](opts);

Callers 1

formidable.test.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…