(element, text)
| 84 | } |
| 85 | |
| 86 | function assertTextNode(element, text) { |
| 87 | expect(element.nodeType).toBe(3) |
| 88 | expect(getTextNodeText(element)).toBe(text) |
| 89 | } |
| 90 | |
| 91 | function assertAnchor(element, href) { |
| 92 | expect(element.tagName).toBe('A') |
nothing calls this directly
no test coverage detected