test(turborepo-analytics): improve unit test coverage (#10651)
## Summary
Improves test coverage for from 87.50% to 90.57% (+3.07%) in
`turobrepo-analytics`.
## Changes
Added 3 new tests to cover previously untested code paths:
- Tests the method to ensure it handles timeouts gracefully
- Tests error handling when the analytics client fails to record events
- Tests the utility function to ensure it properly sets session IDs
## Coverage Impact
- **Before**: 87.50% coverage (12 missed regions out of 96 total)
- **After**: 90.57% coverage (10 missed regions out of 106 total)
- **Improvement**: +3.07 percentage points
All tests pass and cover important error handling and utility function
scenarios.
---------
Co-authored-by: Chris Olszewski <chris.olszewski@vercel.com>