mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
testing.zig: init directly on .serve
This commit is contained in:
@@ -491,11 +491,9 @@ test "tests:beforeAll" {
|
||||
const test_allocator = @import("root").tracking_allocator;
|
||||
|
||||
test_config = try Config.init(test_allocator, "test", .{ .serve = .{
|
||||
.common = .{
|
||||
.tls_verify_host = false,
|
||||
.user_agent_suffix = "internal-tester",
|
||||
.ws_max_concurrent = 50,
|
||||
},
|
||||
.insecure_disable_tls_host_verification = true,
|
||||
.user_agent_suffix = "internal-tester",
|
||||
.ws_max_concurrent = 50,
|
||||
} });
|
||||
|
||||
test_app = try App.init(test_allocator, &test_config);
|
||||
|
||||
Reference in New Issue
Block a user