MCPcopy
hub / github.com/github/github-mcp-server / testExporters

Function testExporters

pkg/github/dependencies_test.go:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14)
15
16func testExporters() observability.Exporters {
17 obs, _ := observability.NewExporters(slog.New(slog.DiscardHandler), metrics.NewNoopMetrics())
18 return obs
19}
20
21func TestIsFeatureEnabled_WithEnabledFlag(t *testing.T) {
22 t.Parallel()

Calls 2

NewExportersFunction · 0.92
NewNoopMetricsFunction · 0.92

Tested by

no test coverage detected