Merge pull request #2168 from lightpanda-io/quiet_test_warnings

quiet a couple test warnings
This commit is contained in:
Karl Seguin
2026-04-16 06:56:35 +08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -3689,6 +3689,8 @@ fn asUint(comptime string: anytype) std.meta.Int(
const testing = @import("../testing.zig");
test "WebApi: Page" {
const filter: testing.LogFilter = .init(&.{.http});
defer filter.deinit();
try testing.htmlRunner("page", .{});
}

View File

@@ -561,7 +561,7 @@ test "Env: Worker context " {
const page = try session.createPage();
defer session.removePage();
const worker = try @import("../webapi/Worker.zig").init("about:blank", &page.js.execution);
const worker = try @import("../webapi/Worker.zig").init("http://localhost:9582/src/browser/tests/testing.js", &page.js.execution);
var ls: js.Local.Scope = undefined;
worker._worker_scope.js.localScope(&ls);