(test)
| 127 | } |
| 128 | |
| 129 | function getAlternateKeyObjects(test) { |
| 130 | const names = new Set(); |
| 131 | if (test?.type === 'UnaryExpression' && |
| 132 | test.operator === '!' && |
| 133 | isIsKeyObjectCall(test.argument)) { |
| 134 | names.add(getIdentifierArgument(test.argument)); |
| 135 | } |
| 136 | names.delete(undefined); |
| 137 | return names; |
| 138 | } |
| 139 | |
| 140 | function isKeyObjectFactory(node) { |
| 141 | if (node?.type === 'NewExpression' && |
no test coverage detected
searching dependent graphs…