// pardes-macos-e2e: drive the real AppKit shell offscreen with the same kind of // .snap script the tty backend uses, and diff the captures against goldens. // // zig build macos-e2e -Dplatform=macos run every script // zig build macos-e2e -Dplatform=macos -- --update regenerate goldens // zig build macos-e2e -Dplatform=macos -- test/macos-snapshots/boot.snap // // This is the only test the Swift half has. src/macos.zig's ABI guard proves // the header and the Zig side agree, and it runs on Linux; nothing there ever // constructs a PardesView, translates a gesture, or asks CoreText to paint a // glyph. So the harness links the SHIPPING view — not a stub, and with no test // hook bolted onto the app — into an offscreen window and calls the same public // entry points the NSEvent overrides call. What a script exercises is what a // hand exercises. // // The output format is test/snapshot.zig's header and row spelling (`== snap //