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

Function createRenderTarget

dom/test/browser/src/isolation.ts:22–30  ·  view source on GitHub ↗
(id: string | null = null)

Source from the content-addressed store, hash-verified

20} from '../../../lib';
21
22function createRenderTarget(id: string | null = null) {
23 let element = document.createElement('div');
24 element.className = 'cycletest';
25 if (id) {
26 element.id = id;
27 }
28 document.body.appendChild(element);
29 return element;
30}
31
32describe('isolateSource', function () {
33 it('should have the same effect as DOM.select()', function (done) {

Callers 1

isolation.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected