instanceof svgelement test

This commit is contained in:
sjorsdonkers committed 2025-04-29 18:11:47 +02:00
1 parent 7d742d62b8
commit 7d9f6eef27
1 file changed
+10
+10
View File
@@ -29,3 +29,13 @@ pub const SVGElement = struct {
// a Self type to cast to.
pub const subtype = .node;
};
const testing = @import("../../testing.zig");
test "Browser.HTML.SVGElement" {
var runner = try testing.jsRunner(testing.tracking_allocator, .{});
defer runner.deinit();
try runner.testCases(&.{
.{ "'AString' instanceof SVGElement", "false" },
}, .{});
}