mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-12 10:06:12 -04:00
Silence test warnings
https://github.com/lightpanda-io/browser/pull/2368 added more warnings on JS callback failure. The test for these naturally trigger the logging. Silence them during testing.
This commit is contained in:
@@ -203,6 +203,9 @@ pub const JsApi = struct {
|
||||
|
||||
const testing = @import("../../testing.zig");
|
||||
test "WebApi: EventTarget" {
|
||||
const filter: testing.LogFilter = .init(&.{.js, .event});
|
||||
defer filter.deinit();
|
||||
|
||||
// we create thousands of these per frame. Nothing should bloat it.
|
||||
try testing.expectEqual(16, @sizeOf(EventTarget));
|
||||
try testing.htmlRunner("events.html", .{});
|
||||
|
||||
Reference in New Issue
Block a user