MCPcopy Create free account
hub / github.com/algolia/cli / TestFlowTracker_TracksStepAndDuration

Function TestFlowTracker_TracksStepAndDuration

pkg/telemetry/events_test.go:123–128  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

121}
122
123func TestFlowTracker_TracksStepAndDuration(t *testing.T) {
124 tracker := NewFlowTracker()
125 tracker.SetStep(StepPlan)
126 assert.Equal(t, StepPlan, tracker.Step())
127 assert.GreaterOrEqual(t, tracker.DurationMS(), int64(0))
128}

Callers

nothing calls this directly

Calls 4

SetStepMethod · 0.95
StepMethod · 0.95
DurationMSMethod · 0.95
NewFlowTrackerFunction · 0.85

Tested by

no test coverage detected