forked from fahrPool/fahrPool
11 lines
358 B
TypeScript
11 lines
358 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { createClient } from "./client";
|
|
|
|
describe("createClient (Browser)", () => {
|
|
it("erstellt einen Supabase-Client mit auth- und from-Methoden", () => {
|
|
const client = createClient();
|
|
expect(typeof client.auth.getUser).toBe("function");
|
|
expect(typeof client.from).toBe("function");
|
|
});
|
|
});
|