mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-31 09:46:05 -04:00
Merge pull request #2745 from lightpanda-io/silence_a_test_log
dev: silence a test that uses/needs console
This commit is contained in:
@@ -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".
|
||||
|
||||
Reference in New Issue
Block a user