diff --git a/extensions/twitch/src/runtime-api.test.ts b/extensions/twitch/src/runtime-api.test.ts new file mode 100644 index 00000000000..9ff6071ba01 --- /dev/null +++ b/extensions/twitch/src/runtime-api.test.ts @@ -0,0 +1,13 @@ +import { describe, expect, it } from "vitest"; + +describe("twitch runtime-api", () => { + it("re-exports the runtime helpers used by Twitch internals", async () => { + const runtimeApi = await import("../runtime-api.js"); + + expect(runtimeApi.DEFAULT_ACCOUNT_ID).toBe("default"); + expect(runtimeApi.MarkdownConfigSchema).toBeDefined(); + expect(typeof runtimeApi.buildChannelConfigSchema).toBe("function"); + expect(typeof runtimeApi.createReplyPrefixOptions).toBe("function"); + expect(typeof runtimeApi.normalizeAccountId).toBe("function"); + }); +});