MCPcopy
hub / github.com/bugy/script-server / attachToDocument

Function attachToDocument

web-src/tests/unit/test_utils.js:134–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134export const attachToDocument = () => {
135 const element = document.createElement('div')
136 document.body.appendChild(element)
137 return element
138}
139
140export const mapArrayWrapper = (arrayWrapper, mapFunction) => {
141 const result = []

Calls

no outgoing calls

Tested by

no test coverage detected