| 149 | |
| 150 | it('should extend Original HTML tags', () => { |
| 151 | @component({ |
| 152 | tagName: 'x-sixth', |
| 153 | extends: 'blockquote', |
| 154 | mode: 'open' |
| 155 | }) |
| 156 | class XSixth extends HTMLQuoteElement { |
| 157 | render() { |
| 158 | return ( |
| 159 | <> |
| 160 | 💖 |
| 161 | <slot /> |
| 162 | </> |
| 163 | ); |
| 164 | } |
| 165 | } |
| 166 | renderer.render(<blockquote is="x-sixth">test</blockquote>); |
| 167 | |
| 168 | const element = document.querySelector('blockquote'); |
nothing calls this directly
no test coverage detected