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

Function mountOn

packages/ui/native/test/Containers.test.ts:15–24  ·  view source on GitHub ↗
(
  os: string,
  mount: (
    container: NativeHost.NativeNode
  ) => Effect.Effect<A, never, Renderer.Renderer | Native.Host | Scope.Scope>
)

Source from the content-addressed store, hash-verified

13import * as FakeFabric from "./utils/FakeFabric.ts"
14
15const mountOn = <A>(
16 os: string,
17 mount: (
18 container: NativeHost.NativeNode
19 ) => Effect.Effect<A, never, Renderer.Renderer | Native.Host | Scope.Scope>
20) =>
21 FakeFabric.mount(mount, {
22 color: (color) => `processed ${String(color)}`,
23 os
24 })
25
26describe("Modal and SafeArea", () => {
27 const Message = UiSchema.TaggedEnum({

Callers 1

Containers.test.tsFile · 0.70

Calls 2

mountMethod · 0.65
StringFunction · 0.50

Tested by

no test coverage detected