ReviewOS

also looking at this

craft-native/craft

test(ios): check the event channel, the half nothing was checking

#128
Merged glennmichael123 wants to merge test/ios-event-channel-conformance into main
4 files +280 -0
packages/zig/src/ios_events.zigmodified+9-0
Changes to packages/zig/src/ios_events.zig
@@ -45,6 +45,15 @@ const compat_mutex = ;
4545/// `packages/ios/templates/CraftApp.swift` — that is the contract, and a page
4646/// written against the Swift app must keep working when Zig serves the same
4747/// action. `eventName` is what lands in the `CustomEvent` constructor.
48///
49/// "Copied" was the whole of the guarantee until
50/// `ios_conformance_test.zig`'s event scans landed. A wrong character here
51/// costs nothing at compile time and produces a `CustomEvent` no page is
52/// listening for: no rejected promise, no timeout, no log line — the stream
53/// simply never starts, which from the page's side is what a device with
54/// nothing to report looks like. That test now reads these arms and fails
55/// the build for a name the spec does not dispatch, so the list is checked
56/// against its source rather than trusted to have been transcribed once.
4857pub const Event = enum {
4958 location_update,
5059 location_error,