Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainreactors/EvilProxy
/ newTestServer
Function
newTestServer
internal/api/server_test.go:25–28 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
23
)
24
25
func
newTestServer(t *testing.T) *Server {
26
t.Helper()
27
return
newTestServerWithOptions(t)
28
}
29
30
func
newTestServerWithOptions(t *testing.T, opts ...ServerOption) *Server {
31
t.Helper()
Callers
15
TestHealthz
Function · 0.70
TestManagementResponseExposesPluginSupportHeaderForCORS
Function · 0.70
TestOAuthCallbackRouteSkipsManagementKeyMiddleware
Function · 0.70
TestNewServerWithoutPluginHostLeavesHandlerInterceptorsDisabled
Function · 0.70
TestManagementUsageRequiresManagementAuthAndPopsArray
Function · 0.70
TestManagementPluginsRouteRegistered
Function · 0.70
TestVideosRoutesKeepXAINativeAndExposeOpenAIPrefix
Function · 0.70
TestHomeEnabledHidesManagementEndpointsAndControlPanel
Function · 0.70
TestModelsDispatchByAnthropicVersionHeader
Function · 0.70
TestModelsWithClientVersionReturnsCodexCatalog
Function · 0.70
TestRedisProtocol_ManagementDisabled_RejectsConnection
Function · 0.70
TestRedisProtocol_HomeEnabled_DisablesConnection
Function · 0.70
Calls
1
newTestServerWithOptions
Function · 0.85
Tested by
no test coverage detected