(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestNewExporterFromConfig_Log(t *testing.T) { |
| 12 | exp := NewExporterFromConfig(config.TelemetryConfig{Exporter: "log"}) |
| 13 | if _, ok := exp.(*LogExporter); !ok { |
| 14 | t.Fatalf("expected LogExporter, got %T", exp) |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func TestNewExporterFromConfig_OTLPStub(t *testing.T) { |
| 19 | exp := NewExporterFromConfig(config.TelemetryConfig{ |
nothing calls this directly
no test coverage detected