Compare commits

...

1 Commits

Author SHA1 Message Date
Val Alexander
82f1e3334c
Tests: cover Twitch runtime barrel 2026-03-18 01:33:44 -05:00

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