github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/agent/agent_test.go (about)

     1  package agent
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  // TestMain is the entry point for integration tests. It replaces the default
     8  // test entry point so that it can override the agent bundle location.
     9  func TestMain(m *testing.M) {
    10  	// Override the expected bundle location.
    11  	ExpectedBundleLocation = BundleLocationBuildDirectory
    12  
    13  	// Run tests.
    14  	m.Run()
    15  }