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