MCPcopy Create free account
hub / github.com/php/frankenphp / TestEarlyHints_worker

Function TestEarlyHints_worker

frankenphp_test.go:574–576  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

572
573func TestEarlyHints_module(t *testing.T) { testEarlyHints(t, &testOptions{}) }
574func TestEarlyHints_worker(t *testing.T) {
575 testEarlyHints(t, &testOptions{workerScript: "early-hints.php"})
576}
577func testEarlyHints(t *testing.T, opts *testOptions) {
578 runTest(t, func(handler func(http.ResponseWriter, *http.Request), _ *httptest.Server, i int) {
579 var earlyHintReceived bool

Callers

nothing calls this directly

Calls 1

testEarlyHintsFunction · 0.85

Tested by

no test coverage detected