mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-29 15:49:41 +08:00
11 lines
318 B
TypeScript
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);
|
|
});
|
|
});
|