MCPcopy
hub / github.com/preactjs/preact / test

Function test

test/browser/components.test.jsx:610–612  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

608
609 let root;
610 function test(content) {
611 root = render(content, scratch, root);
612 }
613
614 test(<Comp />);
615 test(<div>just a div</div>);

Callers 1

Calls 1

renderFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…