package healthcheck

import (
	"fmt"
	"os"
	"testing"

	"github.com/onsi/gomega"
)

func TestMain(m *testing.M) {
	fmt.Println("start healthcheck tests with mock repository")
	code := m.Run()
	os.Exit(code)
}

func formatTime(t interface{}) *interface{} {
	return &t
}

// Ensure gomega is properly initialized
func init() {
	gomega.RegisterTestingT(&testing.T{})
}
