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

Function createRenderTarget

dom/test/browser/src/select.ts:21–29  ·  view source on GitHub ↗
(id: string | null = null)

Source from the content-addressed store, hash-verified

19} from '../../../lib';
20
21function createRenderTarget(id: string | null = null) {
22 let element = document.createElement('div');
23 element.className = 'cycletest';
24 if (id) {
25 element.id = id;
26 }
27 document.body.appendChild(element);
28 return element;
29}
30
31describe('DOMSource.select()', function () {
32 it('should have Observable `:root` in DOM source', function (done) {

Callers 1

select.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected