| 408 | }; |
| 409 | |
| 410 | const collectNonStaticProperties = specPath => specPath.properties |
| 411 | .filter(prop => |
| 412 | !(filterDefaultPropsField(prop) || filterGetInitialStateField(prop)) |
| 413 | ) |
| 414 | .filter(prop => (!STATIC_KEYS.hasOwnProperty(prop.key.name)) && prop.key.name !== STATIC_KEY) |
| 415 | .filter(prop => |
| 416 | isFunctionExpression(prop) || |
| 417 | isPrimPropertyWithTypeAnnotation(prop) || |
| 418 | isPrimProperty(prop) |
| 419 | ); |
| 420 | |
| 421 | const findRequirePathAndBinding = (moduleName) => { |
| 422 | let result = null; |
no test coverage detected