instanceof svgelement test

This commit is contained in:
sjorsdonkers
2025-04-24 14:56:16 +02:00
parent 7d742d62b8
commit 7d9f6eef27

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" },
}, .{});
}