(factories, name)
| 464 | } |
| 465 | |
| 466 | function findFactoryName (factories, name) { |
| 467 | for (const factoryName in factories) { |
| 468 | if (hasOwnProperty(factories, factoryName)) { |
| 469 | if (factories[factoryName].fn === name) { |
| 470 | return factoryName |
| 471 | } |
| 472 | } |
| 473 | } |
| 474 | |
| 475 | return undefined |
| 476 | } |
| 477 | |
| 478 | function findKey (object, value) { |
| 479 | for (const key in object) { |
no test coverage detected
searching dependent graphs…