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

Function TestApplicationCreateCompleted

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

Source from the content-addressed store, hash-verified

72}
73
74func TestApplicationCreateCompleted(t *testing.T) {
75 event := ApplicationCreateCompleted("us-east", "grow", NewFlowTracker())
76 assert.Equal(t, EventApplicationCreateCompleted, event.Name)
77 assert.Equal(t, "us-east", event.Properties["region"])
78 assert.Equal(t, "grow", event.Properties["plan"])
79 assert.Contains(t, event.Properties, "duration_ms")
80}
81
82func TestApplicationPlanChangeAborted_WithReason(t *testing.T) {
83 tracker := NewFlowTracker()

Callers

nothing calls this directly

Calls 2

NewFlowTrackerFunction · 0.85

Tested by

no test coverage detected