MCPcopy Create free account
hub / github.com/EasyWebApp/WebCell / XThird

Class XThird

test/WebCell.spec.tsx:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58 it('should put .render() returned DOM into .children of a Custom Element', () => {
59 @component({ tagName: 'x-third' })
60 class XThird extends HTMLElement {
61 render() {
62 return <h2 />;
63 }
64 }
65 renderer.render(<XThird />);
66
67 const { shadowRoot, innerHTML } = document.body.lastElementChild;

Callers

nothing calls this directly

Calls 1

componentFunction · 0.90

Tested by

no test coverage detected