(head)
| 36 | }); |
| 37 | |
| 38 | function installRuntimeStylesTo(head) { |
| 39 | const runtimeStyle = win.document.createElement('style'); |
| 40 | runtimeStyle.setAttribute('amp-runtime', ''); |
| 41 | runtimeStyle.textContent = 'a{}'; |
| 42 | head.appendChild(runtimeStyle); |
| 43 | } |
| 44 | |
| 45 | it('should register successfully without promise', () => { |
| 46 | const amp = {}; |
no test coverage detected