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

Function findFixtures

test/integration/fixtures.test.js:36–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 server.listen(PORT, findFixtures);
35
36 function findFixtures() {
37 const results = Object.entries(fixtures).map(([fixtureGroup, fixture]) => {
38 return Object.entries(fixture).map(([k, v]) => {
39 return v.map(details => {
40 return {
41 fixture: v,
42 name: `${fixtureGroup}/${details.fixture}.http`
43 };
44 });
45 });
46 }).flat(Infinity);
47 testNext(results);
48 }
49
50 function testNext(results) {
51 const fixtureWithName = results.shift();

Callers

nothing calls this directly

Calls 1

testNextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…