voicemeeter/tests/helper_test.go

20 lines
260 B
Go
Raw Normal View History

package voicemeeter_test
import (
"os"
"testing"
"github.com/onyx-and-iris/voicemeeter-api-go/voicemeeter"
)
var (
vmRem = voicemeeter.NewRemote("banana")
)
func TestMain(m *testing.M) {
vmRem.Login()
code := m.Run()
vmRem.Logout()
os.Exit(code)
}