summaryrefslogtreecommitdiff
path: root/build/snap.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build/snap.zig')
-rw-r--r--build/snap.zig32
1 files changed, 0 insertions, 32 deletions
diff --git a/build/snap.zig b/build/snap.zig
index e82bf1ef..01316966 100644
--- a/build/snap.zig
+++ b/build/snap.zig
@@ -156,35 +156,3 @@ pub fn addTty(b: *std.Build, opts: struct {
run_driver_test.has_side_effects = true;
b.step("snap-driver-test", "test snapshot retry evidence and failure reporting").dependOn(&run_driver_test.step);
}
-
-pub fn addWeb(b: *std.Build) void {
- const driver_test = b.addSystemCommand(&.{ "node", "--test", "test/web_driver_test.mjs" });
- driver_test.setCwd(b.path("."));
- driver_test.has_side_effects = true;
- b.step("web-driver-test", "test browser driver deadlines and cleanup").dependOn(&driver_test.step);
- const build_web_snap = b.addSystemCommand(&.{
- b.graph.zig_exe,
- "build",
- "web",
- "-Dplatform=web",
- "-Dtarget=wasm32-freestanding",
- "-Dtree-sitter=zig",
- "-Ddump=test/web-snapshots/touch.dump",
- "-p",
- "zig-out/web-snap-test",
- });
- build_web_snap.setCwd(b.path("."));
- const run_web_snap = b.addSystemCommand(&.{
- "node",
- "test/web_snapshot.mjs",
- "zig-out/web-snap-test/web",
- "test/web-snapshots/touch.mjs",
- });
- run_web_snap.setCwd(b.path("."));
- run_web_snap.step.dependOn(&build_web_snap.step);
- run_web_snap.step.dependOn(&driver_test.step);
- run_web_snap.has_side_effects = true;
- run_web_snap.addPassthruArgs();
- b.step("web-snap", "run browser highlighting, touch, Look, resize and scroll checks").dependOn(&run_web_snap.step);
- b.step("web-e2e", "run the Chrome-driven DOM end-to-end suite").dependOn(&run_web_snap.step);
-}