mirror of
https://github.com/MeshTender/MeshTender.git
synced 2026-09-02 10:03:43 +00:00
15 lines
318 B
Go
15 lines
318 B
Go
package analytics
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/jleight/meshtender/internal/testdb"
|
|
)
|
|
|
|
// TestMain wires testdb's container teardown. The container only starts if a test
|
|
// actually calls testdb.Fresh, so the nil-store handler tests stay DB-free.
|
|
func TestMain(m *testing.M) {
|
|
os.Exit(testdb.RunMain(m))
|
|
}
|