repo-sync/server/main_test.go
James Coleman 7613ca209a
Some checks are pending
Go package / build (push) Waiting to run
first commit
2026-07-27 17:36:32 -05:00

14 lines
226 B
Go

package server
import (
"os"
"testing"
"github.com/grmrgecko/repo-sync/fetch"
)
// TestMain initializes the shared HTTP client all fetch paths depend on.
func TestMain(m *testing.M) {
fetch.Reload()
os.Exit(m.Run())
}