MCPcopy Create free account
hub / github.com/cyclejs/cyclejs / createRenderTarget

Function createRenderTarget

dom/test/browser/src/render.tsx:37–45  ·  view source on GitHub ↗
(id: string | null = null)

Source from the content-addressed store, hash-verified

35}
36
37function createRenderTarget(id: string | null = null) {
38 let element = document.createElement('div');
39 element.className = 'cycletest';
40 if (id) {
41 element.id = id;
42 }
43 document.body.appendChild(element);
44 return element;
45}
46
47describe('DOM Rendering', function () {
48 it('should render DOM elements even when DOMSource is not utilized', function (done) {

Callers 1

render.tsxFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected