Skip to content

test: add unit tests for ProsodyOptions (edge-tts)#6849

Merged
TIANQIAN1238 merged 1 commit into
mainfrom
test/prosody-options
Jul 6, 2026
Merged

test: add unit tests for ProsodyOptions (edge-tts)#6849
TIANQIAN1238 merged 1 commit into
mainfrom
test/prosody-options

Conversation

@Jeniter

@Jeniter Jeniter commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

What

Adds a focused unit-test file for the ProsodyOptions class in app/utils/ms_edge_tts.ts.

Covered behaviour:

  • has sensible SSML defaults (+0Hz, 1.0, 100.0)
  • allows overriding pitch / rate / volume
  • keeps two instances independent

Notes

  • Additive only — no existing files are modified or removed.
  • yarn test:ci passes locally.

Part of a series of small QA-only PRs adding unit coverage for pure helpers.

Adds a small, focused, additive unit-test file (test/prosody-options.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@TIANQIAN1238 TIANQIAN1238 merged commit 706a18b into main Jul 6, 2026
1 check failed
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.

2 participants