Files
2025-04-24 22:52:28 +02:00

11 lines
318 B
TypeScript

import { HttpClient, Relay, Hanko } from "../src";
describe("class hanko", () => {
it("should hold instances of available Hanko API clients", async () => {
const hanko = new Hanko("http://api.test");
expect(hanko.client).toBeInstanceOf(HttpClient);
expect(hanko.relay).toBeInstanceOf(Relay);
});
});