Files
story/internal/observability/tracing_test.go
T

17 lines
311 B
Go
Raw Normal View History

2026-08-26 06:41:07 +08:00
package observability
import (
"context"
"testing"
)
func TestSetupTracingWithoutExporter(t *testing.T) {
provider, err := SetupTracing(context.Background(), "test-service", "test", "")
if err != nil {
t.Fatal(err)
}
if err := provider.Shutdown(context.Background()); err != nil {
t.Fatal(err)
}
}