MCPcopy
hub / github.com/Semantic-Org/Semantic-UI-React / makeRect

Function makeRect

test/specs/lib/doesNodeContainClick-test.js:6–6  ·  view source on GitHub ↗
(rect)

Source from the content-addressed store, hash-verified

4const makeEvent = (event) => ({ clientX: 0, clientY: 0, ...event })
5
6const makeRect = (rect) => ({ top: 0, bottom: 1, left: 0, right: 1, ...rect })
7
8const makeNode = (rect, node) => ({
9 contains: sandbox.spy(),

Callers 1

makeNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…