(textNode, pathNode)
| 602 | } |
| 603 | |
| 604 | function assertTextIsAbovePath(textNode, pathNode) { |
| 605 | var textBB = textNode.getBoundingClientRect(); |
| 606 | var pathBB = pathNode.getBoundingClientRect(); |
| 607 | |
| 608 | expect(textBB.bottom).not.toBeGreaterThan(pathBB.top); |
| 609 | } |
| 610 | |
| 611 | function assertTextIsBelowPath(textNode, pathNode) { |
| 612 | var textBB = textNode.getBoundingClientRect(); |
no outgoing calls
no test coverage detected
searching dependent graphs…