From 685b8c8e74c9edbdf701594f50ff1b70ac288ec9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 10 Jul 2026 17:32:43 -0300 Subject: web snapshots: add switch for saving/loading exports, update web version, web snapshot tooling --- test/web_snapshot.mjs | 471 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 471 insertions(+) create mode 100644 test/web_snapshot.mjs (limited to 'test/web_snapshot.mjs') diff --git a/test/web_snapshot.mjs b/test/web_snapshot.mjs new file mode 100644 index 00000000..7c0c7462 --- /dev/null +++ b/test/web_snapshot.mjs @@ -0,0 +1,471 @@ +#!/usr/bin/env node +// Drive the Emscripten build in a real headless Chromium using .snap scripts. +// Shared commands retain test/snapshot.zig's spelling and output format: +// wait | stable +// snap