Merge pull request #2745 from lightpanda-io/silence_a_test_log

dev: silence a test that uses/needs console
This commit is contained in:
Karl Seguin
2026-06-15 17:16:08 +08:00
committed by GitHub

View File

@@ -167,6 +167,9 @@ pub fn consoleMessage(arena: Allocator, bc: *CDP.BrowserContext, event: *const N
const testing = @import("../testing.zig");
test "cdp.runtime: consoleAPICalled type matches the console method" {
const filter: testing.LogFilter = .init(&.{.js});
defer filter.deinit();
// Wire types per the CDP protocol: console.log -> "log",
// console.warn -> "warning" (not "warn"), console.info -> "info",
// console.error -> "error", console.debug -> "debug".