(os: "ios" | "android" | "macos")
| 79 | }) |
| 80 | |
| 81 | const mount = async (os: "ios" | "android" | "macos") => { |
| 82 | const animated = FakeAnimated.make() |
| 83 | const mounted = await FakeFabric.mount( |
| 84 | (container) => Renderer.mount(Harness, {}, container), |
| 85 | { os, color, module: (name) => name.startsWith("NativeAnimated") ? animated.module : undefined } |
| 86 | ) |
| 87 | return { ...mounted, animated } |
| 88 | } |
| 89 | |
| 90 | describe("@effect/ui-native/kit controls", () => { |
| 91 | it("maps props, dispatches events, and restores rejected changes on macOS", async () => { |
no test coverage detected