mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 10:06:21 +00:00
fix(skills): align TTS docs with CLI contract (#2483)
This commit is contained in:
@@ -36,3 +36,15 @@ describe("hyperframes-core contract docs", () => {
|
||||
expect(renderReference).toContain("WORKAROUND:");
|
||||
});
|
||||
});
|
||||
|
||||
describe("media-use TTS documentation", () => {
|
||||
it("does not advertise flags unsupported by the published tts command", () => {
|
||||
const tts = read("skills", "media-use", "audio", "references", "tts.md");
|
||||
const captions = read("skills", "media-use", "audio", "references", "tts-to-captions.md");
|
||||
|
||||
expect(tts).not.toMatch(/hyperframes tts[^\n]*--provider/);
|
||||
expect(tts).not.toMatch(/hyperframes tts[^\n]*--words/);
|
||||
expect(captions).not.toMatch(/hyperframes tts[^\n]*--provider/);
|
||||
expect(captions).toContain("heygen-tts.mjs");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user