14 lines
559 B
TypeScript
14 lines
559 B
TypeScript
import { describe, expect, it } from "@suaveplan/testing/runner";
|
|
|
|
describe("@suaveplan/jwt-tenant dep-graph", () => {
|
|
it("can import the main entry point", { timeout: 30000 }, async () => {
|
|
const mod = await import("../src/index.js");
|
|
expect(mod.TokenIssuer).toBeDefined();
|
|
expect(mod.TokenVerifier).toBeDefined();
|
|
expect(mod.InMemoryKeyStore).toBeDefined();
|
|
expect(mod.JWKSEndpoint).toBeDefined();
|
|
expect(mod.JWT_TENANT_CODES).toBeDefined();
|
|
expect(mod.generateKeyPair).toBeDefined();
|
|
});
|
|
});
|