mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-31 17:55:59 -04:00
zig fmt
This commit is contained in:
@@ -471,7 +471,7 @@ pub const JsApi = struct {
|
||||
|
||||
const testing = @import("../../testing.zig");
|
||||
test "WebApi: Worker" {
|
||||
const filter: testing.LogFilter = .init(&.{ .http });
|
||||
const filter: testing.LogFilter = .init(&.{.http});
|
||||
defer filter.deinit();
|
||||
|
||||
// Worker tests chain a worker-script fetch with a dynamic-import fetch
|
||||
|
||||
@@ -177,7 +177,7 @@ pub const Build = struct {
|
||||
|
||||
const testing = @import("../../../../testing.zig");
|
||||
test "WebApi: Script" {
|
||||
const filter: testing.LogFilter = .init(&.{ .http });
|
||||
const filter: testing.LogFilter = .init(&.{.http});
|
||||
defer filter.deinit();
|
||||
try testing.htmlRunner("element/html/script", .{});
|
||||
}
|
||||
|
||||
@@ -1172,7 +1172,7 @@ test "agent script runtime: re-goto on the same page object replaces its page" {
|
||||
}
|
||||
|
||||
test "agent script runtime: a failed navigation rejects the goto promise" {
|
||||
const filter: testing.LogFilter = .init(&.{ .frame });
|
||||
const filter: testing.LogFilter = .init(&.{.frame});
|
||||
defer filter.deinit();
|
||||
|
||||
defer testing.reset();
|
||||
|
||||
Reference in New Issue
Block a user