(node)
| 39 | } |
| 40 | |
| 41 | function testIfStatement(node) { |
| 42 | if (node.test.argument === undefined) { |
| 43 | return; |
| 44 | } |
| 45 | if (isCryptoCheck(node.test.argument)) { |
| 46 | checkCryptoCall(node); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | function isCryptoCheck(node) { |
| 51 | return utils.usesCommonProperty(node, ['hasCrypto', 'hasFipsCrypto']); |
no test coverage detected
searching dependent graphs…