(node)
| 15 | ['keys', 'entries'].includes(node.callee.property.name); |
| 16 | |
| 17 | const isPromiseAllCallArg = (node) => |
| 18 | node.parent?.type === 'CallExpression' && |
| 19 | node.parent.callee.type === 'MemberExpression' && |
| 20 | node.parent.callee.object.type === 'Identifier' && node.parent.callee.object.name === 'Promise' && |
| 21 | node.parent.callee.property.type === 'Identifier' && node.parent.callee.property.name === 'all' && |
| 22 | node.parent.arguments.length === 1 && node.parent.arguments[0] === node; |
| 23 | |
| 24 | function findEnclosingFunction(node) { |
| 25 | while (true) { |
no outgoing calls
no test coverage detected