test(telegram-tts): add unit tests for summarizeText function
- Export summarizeText in _test for testing - Add 8 tests covering: - Successful summarization with metrics - OpenAI API call parameters verification - targetLength validation (min/max boundaries) - Error handling (API failures, empty responses) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
104d977d12
commit
aef88cd9f1
4 files changed
+186
-70
No files matched your search
Generated
+2
@@ -393,6 +393,8 @@ importers:
|
||||
|
||||
extensions/telegram: {}
|
||||
|
||||
extensions/telegram-tts: {}
|
||||
|
||||
extensions/tlon:
|
||||
dependencies:
|
||||
'@urbit/aura':
|
||||
|
||||
Reference in new issue
Block a user