Skip to content

tests: add unit tests for XAITTSProvider#3060

Merged
Salazareo merged 1 commit into
mainfrom
DS/2998-tests-xai-tts-provider
May 10, 2026
Merged

tests: add unit tests for XAITTSProvider#3060
Salazareo merged 1 commit into
mainfrom
DS/2998-tests-xai-tts-provider

Conversation

@Salazareo
Copy link
Copy Markdown
Member

Adds offline XAITTSProvider.test.ts covering voice/format selection, request shape, error paths, and cost reporting. Spies on global fetch (the provider's egress point) against a real PuterServer + live MeteringService.

Closes #2998

Adds offline XAITTSProvider.test.ts covering voice/format selection,
request shape, error paths, and cost reporting. Spies on global fetch
(the provider's egress point) against a real PuterServer + live
MeteringService.

Closes #2998

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 10, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 57.06%
⬆️ +0.25%
10134 / 17760
🔵 Statements 55.68%
⬆️ +0.24%
10675 / 19170
🔵 Functions 58.41%
⬆️ +0.23%
1760 / 3013
🔵 Branches 44.59%
⬆️ +0.20%
6318 / 14166
File CoverageNo changed files found.
Generated in workflow #122 for commit 6284298 by the Vitest Coverage Report Action

@Salazareo Salazareo merged commit ec04afe into main May 10, 2026
6 of 7 checks passed
@Salazareo Salazareo deleted the DS/2998-tests-xai-tts-provider branch May 10, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tests] Add unit tests for XAITTSProvider

1 participant