test(telemetry): add telemetry API client tests (#10650)
## Changes
- Add 3 new test cases for telemetry recording functionality in
- Test successful telemetry recording with multiple events and
parent-child relationships
- Test empty events handling edge case
- Test different event types (Generic events)
- Add telemetry endpoint () to mock server in
- Improve test coverage for telemetry methods
## Test Coverage Improvement
Added 3 new test cases that cover:
- ✅ Successful telemetry recording with multiple events
- ✅ Empty events array handling
- ✅ Different telemetry event types
The tests use the mock server to verify the telemetry API client
correctly sends events to the telemetry endpoint and handles various
scenarios properly.