testing.zig: init directly on .serve

This commit is contained in:
Halil Durak
2026-04-10 17:48:35 +03:00
parent f5b9bdb51b
commit 156cf9b5a4

View File

@@ -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);