fix(skills): align TTS docs with CLI contract (#2483)

This commit is contained in:
Miguel Ángel
2026-07-16 18:20:17 -04:00
committed by GitHub
parent 406894061e
commit 428e571914
5 changed files with 36 additions and 20 deletions
@@ -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");
});
});