package auth_test import ( "testing" "go.uber.org/goleak" "golang.org/x/crypto/bcrypt" "github.com/J3vb/OwnCord/Server/auth" ) func TestMain(m *testing.M) { // Password hashing dominates this suite's runtime at the production cost // of 12; nothing under test depends on hash strength. auth.SetCostForTesting(bcrypt.MinCost) goleak.VerifyTestMain(m) }