(block, node, tag)
| 97 | }; |
| 98 | |
| 99 | function isJasmineBase(block, node, tag) { |
| 100 | return ( |
| 101 | node.type === 'Literal' && |
| 102 | node.parent && |
| 103 | node.parent.type === 'CallExpression' && |
| 104 | node.parent.callee && |
| 105 | node.parent.callee.type === 'Identifier' && |
| 106 | node.parent.callee.name === block && |
| 107 | (tag === undefined || exports.hasJasmineTestTag(node, tag)) |
| 108 | ); |
| 109 | } |
| 110 | |
| 111 | exports.isJasmineTestIt = function (node, tag) { |
| 112 | return isJasmineBase('it', node, tag); |
no outgoing calls
no test coverage detected
searching dependent graphs…