(textNode, pathNode)
| 609 | } |
| 610 | |
| 611 | function assertTextIsBelowPath(textNode, pathNode) { |
| 612 | var textBB = textNode.getBoundingClientRect(); |
| 613 | var pathBB = pathNode.getBoundingClientRect(); |
| 614 | |
| 615 | expect(pathBB.bottom).not.toBeGreaterThan(textBB.top); |
| 616 | } |
| 617 | |
| 618 | function assertTextIsAfterPath(textNode, pathNode) { |
| 619 | var textBB = textNode.getBoundingClientRect(); |
no outgoing calls
no test coverage detected
searching dependent graphs…