testing: add LogFilter utility for scoped log suppression

This commit is contained in:
Adrià Arrufat
2026-03-12 13:56:53 +09:00
parent 1522c90294
commit 3d6d669a50
4 changed files with 29 additions and 3 deletions

View File

@@ -662,6 +662,10 @@ test "cdp.page: getFrameTree" {
}
test "cdp.page: captureScreenshot" {
const LogFilter = @import("../../testing.zig").LogFilter;
const filter: LogFilter = .init(.not_implemented);
defer filter.deinit();
var ctx = testing.context();
defer ctx.deinit();
{