gitea-sonarqube-bot/internal/webhook_handler/main_test.go

15 lines
175 B
Go
Raw Normal View History

package webhook_handler
import (
"log"
"io/ioutil"
"os"
"testing"
)
// SETUP: mute logs
func TestMain(m *testing.M) {
log.SetOutput(ioutil.Discard)
os.Exit(m.Run())
}