MCPcopy Create free account
hub / github.com/Effect-TS/effect / toggle

Function toggle

packages/ui/native/test/Kit.test.ts:153–153  ·  view source on GitHub ↗
(value: boolean)

Source from the content-addressed store, hash-verified

151 )
152 const node = () => find(FakeFabric.byName(viewName))
153 const toggle = (value: boolean) => fabric.emit(node(), "topChange", { target: node().tag, value })
154
155 assert.deepStrictEqual(
156 node().props,

Callers 1

Kit.test.tsFile · 0.70

Calls 2

nodeFunction · 0.70
emitMethod · 0.65

Tested by

no test coverage detected