* @param {string} src * @return {!Element}
(src)
| 24 | * @return {!Element} |
| 25 | */ |
| 26 | function element(src) { |
| 27 | // Doesn't matter that it's amp-list. Could be anything with a src attr. |
| 28 | const el = document.createElement('AMP-LIST'); |
| 29 | el.setAttribute('src', src); |
| 30 | return el; |
| 31 | } |
| 32 | |
| 33 | beforeEach(() => { |
| 34 | urlReplacements = { |
no test coverage detected