import { describe, expect, it } from "vitest"; import * as providerAuthRuntime from "./provider-auth-runtime.js"; describe("plugin-sdk provider-auth-runtime", () => { it("exports the runtime-ready auth helper", () => { expect(typeof providerAuthRuntime.getRuntimeAuthForModel).toBe("function"); }); it("exports OAuth callback helpers", () => { expect(typeof providerAuthRuntime.generateOAuthState).toBe("function"); expect(typeof providerAuthRuntime.parseOAuthCallbackInput).toBe("function"); expect(typeof providerAuthRuntime.waitForLocalOAuthCallback).toBe("function"); }); });