Convert more DOM_NO_ERR cases to assertions

There is some risk to this change. The first is that I made a mistake. The
other is that one of the APIs that doesn't currently return an error changes
in the future.
This commit is contained in:
Karl Seguin
2025-09-17 13:37:24 +08:00
parent b7d26cf0d5
commit 58acb2b821
57 changed files with 380 additions and 446 deletions

View File

@@ -19,8 +19,6 @@
const std = @import("std");
const Allocator = std.mem.Allocator;
const Platform = @import("runtime/js.zig").Platform;
pub const allocator = std.testing.allocator;
pub const expectError = std.testing.expectError;
pub const expect = std.testing.expect;