(lineElement, expectedSrc)
| 167 | } |
| 168 | |
| 169 | function assertImageLine(lineElement, expectedSrc) { |
| 170 | expect(lineElement.tagName).toBe('DIV') |
| 171 | |
| 172 | expect(lineElement.childNodes.length).toBe(1) |
| 173 | expect(lineElement.childNodes[0].tagName).toBe('IMG') |
| 174 | expect(lineElement.childNodes[0].getAttribute('src')).toBe(expectedSrc) |
| 175 | } |
| 176 | |
| 177 | describe('change log content', function () { |
| 178 |