2025-04-01 10:38:02 +09:00

16 lines
189 B
Go

package testsuite
import (
"os"
"testing"
"github.com/grafana/grafana/pkg/infra/db"
)
func Run(m *testing.M) {
db.SetupTestDB()
code := m.Run()
db.CleanupTestDB()
os.Exit(code)
}