Tests: cover Twitch runtime barrel

This commit is contained in:
Val Alexander 2026-03-18 01:33:44 -05:00
parent d341d68180
commit 82f1e3334c
No known key found for this signature in database

View File

@ -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");
});
});