package main import ( "os" "testing" "code.lila.network/adoralaura/go-urlsh/internal/db" "github.com/uptrace/bun" ) var TestingDB *bun.DB func TestMain(m *testing.M) { TestingDB = db.InitializeDB() os.Exit(m.Run()) }