({baseHref, src})
| 129 | `; |
| 130 | |
| 131 | const renderShadowViewer = ({baseHref, src}) => html` |
| 132 | <!doctype html> |
| 133 | <html> |
| 134 | <head> |
| 135 | <base href="${baseHref}" /> |
| 136 | <title>Shadow Viewer</title> |
| 137 | <script> |
| 138 | ${SCRIPT}; |
| 139 | </script> |
| 140 | </head> |
| 141 | <body style="padding: 0; margin: 0"> |
| 142 | <amp-viewer src="${src}"></amp-viewer> |
| 143 | </body> |
| 144 | </html> |
| 145 | `; |
| 146 | |
| 147 | module.exports = {renderShadowViewer}; |
no test coverage detected