also looking at this
test(ios): check the event channel, the half nothing was checking
#128
4 files
+280
-0
| @@ -45,6 +45,15 @@ const compat_mutex = ; | ||
| 45 | 45 | /// `packages/ios/templates/CraftApp.swift` — that is the contract, and a page |
| 46 | 46 | /// written against the Swift app must keep working when Zig serves the same |
| 47 | 47 | /// 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. | |
| 48 | 57 | pub const Event = enum { |
| 49 | 58 | location_update, |
| 50 | 59 | location_error, |